ENH: also search in /usr/X11R7, remove /usr/lib and /usr/local/lib, they are

part of the standard search paths (partly sync wih KDE)

Alex
This commit is contained in:
Alexander Neundorf 2008-08-16 07:38:12 -04:00
parent ae31d88145
commit 5295385c34
1 changed files with 2 additions and 4 deletions

View File

@ -46,20 +46,18 @@ IF (UNIX)
SET(X11_INC_SEARCH_PATH
/usr/pkg/xorg/include
/usr/X11R6/include
/usr/local/include
/usr/X11R7/include
/usr/include/X11
/usr/openwin/include
/usr/openwin/share/include
/opt/graphics/OpenGL/include
/usr/include
)
SET(X11_LIB_SEARCH_PATH
/usr/pkg/xorg/lib
/usr/X11R6/lib
/usr/local/lib
/usr/X11R7/lib
/usr/openwin/lib
/usr/lib
)
FIND_PATH(X11_X11_INCLUDE_PATH X11/X.h ${X11_INC_SEARCH_PATH})