[CMake] FindX11.cmake - add paths?
Clifford Yapp
cliffyapp at gmail.com
Sun Dec 19 12:59:27 EST 2010
Looking at my local copy of FindX11.cmake, I note that the only change
is to add a number of directories to the X11_INC_SEARCH_PATH and
X11_LIB_SEARCH_PATH variables. Perhaps these could be added to the
default FindX11.cmake?
--- cmake-2.8.3/Modules/FindX11.cmake 2010-11-03 15:58:27.000000000 -0400
+++ cadtoplevel/brlcad/cmake/misc/CMake/FindX11.cmake 2010-12-19
12:57:31.000000000 -0500
@@ -60,12 +60,17 @@
/usr/X11R6/include
/usr/X11R7/include
/usr/include/X11
+ /usr/local/include
+ /usr/local/include/X11
/usr/openwin/include
/usr/openwin/share/include
/opt/graphics/OpenGL/include
)
SET(X11_LIB_SEARCH_PATH
+ /usr/lib64
+ /usr/lib32
+ /usr/lib
/usr/pkg/xorg/lib
/usr/X11R6/lib
/usr/X11R7/lib
More information about the CMake
mailing list