From: <si...@us...> - 2011-11-14 10:44:21
|
Revision: 1304 http://qterm.svn.sourceforge.net/qterm/?rev=1304&view=rev Author: sidos Date: 2011-11-14 10:44:15 +0000 (Mon, 14 Nov 2011) Log Message: ----------- exclude APPLE from X11 detection Modified Paths: -------------- trunk/qterm-qt4/src/CMakeLists.txt Modified: trunk/qterm-qt4/src/CMakeLists.txt =================================================================== --- trunk/qterm-qt4/src/CMakeLists.txt 2011-10-27 14:31:13 UTC (rev 1303) +++ trunk/qterm-qt4/src/CMakeLists.txt 2011-11-14 10:44:15 UTC (rev 1304) @@ -232,11 +232,11 @@ ${QT_QTCORE_INCLUDE_DIR} ${QT_QTGUI_INCLUDE_DIR} ${QT_QTNETWORK_INCLUDE_DIR} ) -if(UNIX) +if(UNIX AND NOT APPLE) find_package(X11) include_directories(${X11_INCLUDE_DIR}) set(optionalLibs ${optionalLibs} ${X11_X11_LIB}) -endif(UNIX) +endif(UNIX AND NOT APPLE) include_directories( ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |