update boost dependencies in CMakeLists.txt

This commit is contained in:
Arvid Norberg 2012-05-16 05:30:41 +00:00
parent 027af8aba8
commit f2238169c9
1 changed files with 1 additions and 5 deletions

View File

@ -156,9 +156,8 @@ else (shared)
add_library(torrent-rasterbar STATIC ${sources2})
endif (shared)
FIND_PACKAGE( Boost 1.34 COMPONENTS filesystem)
if (NOT Boost_VERSION LESS 103500)
FIND_PACKAGE( Boost 1.35 COMPONENTS filesystem system)
FIND_PACKAGE( Boost 1.35 COMPONENTS system)
endif (NOT Boost_VERSION LESS 103500)
include_directories(${Boost_INCLUDE_DIR})
target_link_libraries(torrent-rasterbar ${Boost_LIBRARIES})
@ -226,7 +225,6 @@ if (tcmalloc)
target_link_libraries(torrent-rasterbar tcmalloc)
endif (tcmalloc)
target_link_libraries(torrent-rasterbar z)
include_directories(${includes})
set_target_properties(torrent-rasterbar PROPERTIES
@ -268,8 +266,6 @@ if(build_examples)
target_link_libraries(${s} torrent-rasterbar)
endforeach(s)
FIND_PACKAGE( Boost 1.34 COMPONENTS program_options regex)
target_link_libraries(client_test ${Boost_LIBRARIES})
include_directories(${Boost_INCLUDE_DIR})
endif(build_examples)
# === build tests ===