From: <hep...@us...> - 2011-03-05 19:10:17
|
Revision: 1280 http://qterm.svn.sourceforge.net/qterm/?rev=1280&view=rev Author: hephooey Date: 2011-03-05 19:10:11 +0000 (Sat, 05 Mar 2011) Log Message: ----------- Link libX11.so Modified Paths: -------------- trunk/qterm-qt4/src/CMakeLists.txt Modified: trunk/qterm-qt4/src/CMakeLists.txt =================================================================== --- trunk/qterm-qt4/src/CMakeLists.txt 2011-03-05 15:50:54 UTC (rev 1279) +++ trunk/qterm-qt4/src/CMakeLists.txt 2011-03-05 19:10:11 UTC (rev 1280) @@ -11,6 +11,12 @@ include(CheckFunctionExists) include(CheckLibraryExists) +if(UNIX) + find_package(X11) + set(optionalLibs ${optionalLibs} ${X11_X11_LIB}) +endif(UNIX) + + check_function_exists("gethostbyname" CMAKE_HAVE_GETHOSTBYNAME) if(NOT CMAKE_HAVE_GETHOSTBYNAME) check_library_exists("nsl" "gethostbyname" "" CMAKE_LIB_NSL_HAS_GETHOSTBYNAME) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |