From f2238169c93e59dea284fa57708dda43fcd8cdfe Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 16 May 2012 05:30:41 +0000 Subject: [PATCH] update boost dependencies in CMakeLists.txt --- CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index de0a2fcd7..b6b2bfc88 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 ===