Revision: 6636 http://playerstage.svn.sourceforge.net/playerstage/?rev=6636&view=rev Author: gbiggs Date: 2008-06-17 19:18:00 -0700 (Tue, 17 Jun 2008)
Log Message: ----------- Made boost lib name suffix configurable Modified Paths: -------------- code/player/trunk/client_libs/libplayerc++/CMakeLists.txt Modified: code/player/trunk/client_libs/libplayerc++/CMakeLists.txt =================================================================== --- code/player/trunk/client_libs/libplayerc++/CMakeLists.txt 2008-06-18 02:10:29 UTC (rev 6635) +++ code/player/trunk/client_libs/libplayerc++/CMakeLists.txt 2008-06-18 02:18:00 UTC (rev 6636) @@ -71,16 +71,21 @@ ELSE (PLAYER_OS_OSX) OPTION (Boost_USE_MULTITHREAD "Use the multithreaded versions of the Boost libraries" OFF) ENDIF (PLAYER_OS_OSX) + MARK_AS_ADVANCED (Boost_USE_MULTITHREAD) IF (Boost_USE_MULTITHREAD) - SET (boostLibSuffix -mt) + SET (BOOST_LIB_SUFFIX "-mt" CACHE STRING "Boost library name suffix") + ELSE (Boost_USE_MULTITHREAD) + SET (BOOST_LIB_SUFFIX "" CACHE STRING "Boost library name suffix") ENDIF (Boost_USE_MULTITHREAD) + MARK_AS_ADVANCED (BOOST_LIB_SUFFIX) + IF (HAVE_BOOST_THREAD) OPTION (USE_BOOST_THREAD "Use the Boost threading library" ON) MARK_AS_ADVANCED (USE_BOOST_THREAD) IF (USE_BOOST_THREAD) MESSAGE (STATUS "PlayerC++ client library will be built with Boost::Thread support.") - SET (boostThreadLib boost_thread${boostLibSuffix}) + SET (boostThreadLib boost_thread${BOOST_LIB_SUFFIX}) PLAYERCC_ADD_LINK_LIB (${boostThreadLib}) INCLUDE_DIRECTORIES (${Boost_INCLUDE_DIRS}) LINK_DIRECTORIES (${Boost_LIBRARY_DIRS}) @@ -102,7 +107,7 @@ IF (USE_BOOST_SIGNALS) MESSAGE (STATUS "PlayerC++ client library will be built with Boost::Signals support.") - SET (boostSignalsLib boost_signals${boostLibSuffix}) + SET (boostSignalsLib boost_signals${BOOST_LIB_SUFFIX}) PLAYERCC_ADD_LINK_LIB (${boostSignalsLib}) 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. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Playerstage-commit mailing list Playerstage-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/playerstage-commit