Merge topic 'FindX11-OSX-10.8'

488d968 FindX11: Search in /opt/X11 for OS X 10.8 (#14232)
This commit is contained in:
Brad King 2013-06-24 08:37:54 -04:00 committed by CMake Topic Stage
commit 1c63a67e56
1 changed files with 2 additions and 0 deletions

View File

@ -68,6 +68,7 @@ if (UNIX)
/usr/openwin/include
/usr/openwin/share/include
/opt/graphics/OpenGL/include
/opt/X11/include
)
set(X11_LIB_SEARCH_PATH
@ -75,6 +76,7 @@ if (UNIX)
/usr/X11R6/lib
/usr/X11R7/lib
/usr/openwin/lib
/opt/X11/lib
)
find_path(X11_X11_INCLUDE_PATH X11/X.h ${X11_INC_SEARCH_PATH})