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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to