forked from premiere/premiere-libtorrent
update boost dependencies in CMakeLists.txt
This commit is contained in:
parent
027af8aba8
commit
f2238169c9
|
@ -156,9 +156,8 @@ else (shared)
|
||||||
add_library(torrent-rasterbar STATIC ${sources2})
|
add_library(torrent-rasterbar STATIC ${sources2})
|
||||||
endif (shared)
|
endif (shared)
|
||||||
|
|
||||||
FIND_PACKAGE( Boost 1.34 COMPONENTS filesystem)
|
|
||||||
if (NOT Boost_VERSION LESS 103500)
|
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)
|
endif (NOT Boost_VERSION LESS 103500)
|
||||||
include_directories(${Boost_INCLUDE_DIR})
|
include_directories(${Boost_INCLUDE_DIR})
|
||||||
target_link_libraries(torrent-rasterbar ${Boost_LIBRARIES})
|
target_link_libraries(torrent-rasterbar ${Boost_LIBRARIES})
|
||||||
|
@ -226,7 +225,6 @@ if (tcmalloc)
|
||||||
target_link_libraries(torrent-rasterbar tcmalloc)
|
target_link_libraries(torrent-rasterbar tcmalloc)
|
||||||
endif (tcmalloc)
|
endif (tcmalloc)
|
||||||
|
|
||||||
target_link_libraries(torrent-rasterbar z)
|
|
||||||
include_directories(${includes})
|
include_directories(${includes})
|
||||||
|
|
||||||
set_target_properties(torrent-rasterbar PROPERTIES
|
set_target_properties(torrent-rasterbar PROPERTIES
|
||||||
|
@ -268,8 +266,6 @@ if(build_examples)
|
||||||
target_link_libraries(${s} torrent-rasterbar)
|
target_link_libraries(${s} torrent-rasterbar)
|
||||||
endforeach(s)
|
endforeach(s)
|
||||||
|
|
||||||
FIND_PACKAGE( Boost 1.34 COMPONENTS program_options regex)
|
|
||||||
target_link_libraries(client_test ${Boost_LIBRARIES})
|
|
||||||
include_directories(${Boost_INCLUDE_DIR})
|
include_directories(${Boost_INCLUDE_DIR})
|
||||||
endif(build_examples)
|
endif(build_examples)
|
||||||
# === build tests ===
|
# === build tests ===
|
||||||
|
|
Loading…
Reference in New Issue