--- CMakeLists.txt.dso 2010-04-21 19:33:17.000000000 +0200
+++ CMakeLists.txt 2010-05-04 20:17:34.702775603 +0200
@@ -165,6 +165,14 @@
ELSE()
MESSAGE( FATAL_ERROR "libtorrent-rasterbar library not found! Please install the package or toggle OPTION_TORRENT_SYSTEM to OFF")
ENDIF()
+ FIND_PACKAGE( Boost COMPONENTS system )
+ IF( Boost_FOUND )
+ link_directories( ${Boost_LIB_DIR} )
+ INCLUDE_DIRECTORIES( ${Boost_INCLUDE_DIR} )
+ LINK_LIBRARIES( boost_system-mt )
+ ELSE()
+ MESSAGE( FATAL_ERROR "boost library not found! Please install the package or toggle OPTION_TORRENT_SYSTEM to OFF")
+ ENDIF()
ELSE( NOT WIN32)
link_directories( ${boost_LIB_DIR} )
INCLUDE_DIRECTORIES( ${boost_INCLUDE_DIR} )