From: <st...@us...> - 2009-01-30 13:27:46
|
Revision: 3606 http://hugin.svn.sourceforge.net/hugin/?rev=3606&view=rev Author: stativ Date: 2009-01-30 13:27:43 +0000 (Fri, 30 Jan 2009) Log Message: ----------- Added dependency check for Boost graph, fixes bug #2094656 Modified Paths: -------------- hugin/trunk/CMakeLists.txt Modified: hugin/trunk/CMakeLists.txt =================================================================== --- hugin/trunk/CMakeLists.txt 2009-01-30 00:28:37 UTC (rev 3605) +++ hugin/trunk/CMakeLists.txt 2009-01-30 13:27:43 UTC (rev 3606) @@ -169,10 +169,13 @@ SET(Boost_LIB_SUFFIX_DEBUG gd) -FIND_PACKAGE(Boost REQUIRED thread) +FIND_PACKAGE(Boost REQUIRED thread graph) IF (NOT Boost_thread_FOUND) MESSAGE(FATAL_ERROR "boost thread library not found. If it is installed with a\nunrecognized suffix, specify it with -DBoost_LIB_SUFFIX=<suffix>") ENDIF (NOT Boost_thread_FOUND) +IF (NOT Boost_graph_FOUND) + MESSAGE(FATAL_ERROR "boost graph library not found. If it is installed with a\nunrecognized suffix, specify it with -DBoost_LIB_SUFFIX=<suffix>") +ENDIF (NOT Boost_graph_FOUND) INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS}) LINK_DIRECTORIES(${Boost_LIBRARY_DIRS}) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |