summaryrefslogtreecommitdiffstats
path: root/Modules/FindX11.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2008-08-16 11:38:12 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2008-08-16 11:38:12 (GMT)
commit5295385c34d76705612f6d0e1396884a23284ad7 (patch)
treedcb9b5143687c018b06176978a1d31506adf6667 /Modules/FindX11.cmake
parentae31d88145d5be1fd8e0f95fff65b1d1b566064d (diff)
downloadCMake-5295385c34d76705612f6d0e1396884a23284ad7.zip
CMake-5295385c34d76705612f6d0e1396884a23284ad7.tar.gz
CMake-5295385c34d76705612f6d0e1396884a23284ad7.tar.bz2
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
Diffstat (limited to 'Modules/FindX11.cmake')
-rw-r--r--Modules/FindX11.cmake6
1 files changed, 2 insertions, 4 deletions
diff --git a/Modules/FindX11.cmake b/Modules/FindX11.cmake
index 0db6abe..3155aac 100644
--- a/Modules/FindX11.cmake
+++ b/Modules/FindX11.cmake
@@ -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})