ENH: make sure frameworks are not searched for x header files

This commit is contained in:
Bill Hoffman 2006-04-14 15:08:25 -04:00
parent 54746bd923
commit f7f05bee76
1 changed files with 5 additions and 2 deletions

View File

@ -6,7 +6,10 @@
IF (UNIX)
SET(X11_FOUND 0)
# X11 is never a framework and some header files may be
# found in tcl on the mac
SET(CMAKE_FIND_FRAMEWORK_SAVE ${CMAKE_FIND_FRAMEWORK})
SET(CMAKE_FIND_FRAMEWORK NONE)
SET(X11_INC_SEARCH_PATH
/usr/X11R6/include
/usr/local/include
@ -147,5 +150,5 @@ IF (UNIX)
X11_Xutil_INCLUDE_PATH
X11_LIBRARIES
)
SET(CMAKE_FIND_FRAMEWORK ${CMAKE_FIND_FRAMEWORK_SAVE})
ENDIF (UNIX)