aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-10-24 15:30:57 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2014-10-24 15:30:57 -0400
commit01895dd0676cb8252ed5274c15000e361c965370 (patch)
treedf8614abd92951423ebf77fc23d17512514bfc20
parentunbound: fix type checking (diff)
downloadmonero-01895dd0676cb8252ed5274c15000e361c965370.tar.xz
cmake: fix up link lines
-rw-r--r--src/daemon/CMakeLists.txt1
-rw-r--r--src/miner/CMakeLists.txt1
-rw-r--r--src/simplewallet/CMakeLists.txt2
-rw-r--r--tests/functional_tests/CMakeLists.txt3
-rw-r--r--tests/performance_tests/CMakeLists.txt3
5 files changed, 7 insertions, 3 deletions
diff --git a/src/daemon/CMakeLists.txt b/src/daemon/CMakeLists.txt
index 0c9fca880..adcc61c43 100644
--- a/src/daemon/CMakeLists.txt
+++ b/src/daemon/CMakeLists.txt
@@ -68,6 +68,7 @@ target_link_libraries(daemon
${Boost_REGEX_LIBRARY}
${Boost_SYSTEM_LIBRARY}
${Boost_THREAD_LIBRARY}
+ ${CMAKE_THREAD_LIBS_INIT}
${UPNP_LIBRARIES}
${EXTRA_LIBRARIES})
add_dependencies(daemon
diff --git a/src/miner/CMakeLists.txt b/src/miner/CMakeLists.txt
index 3829e5528..83bda57cc 100644
--- a/src/miner/CMakeLists.txt
+++ b/src/miner/CMakeLists.txt
@@ -51,4 +51,5 @@ target_link_libraries(simpleminer
${Boost_REGEX_LIBRARY}
${Boost_SYSTEM_LIBRARY}
${Boost_THREAD_LIBRARY}
+ ${CMAKE_THREAD_LIBS_INIT}
${EXTRA_LIBRARIES})
diff --git a/src/simplewallet/CMakeLists.txt b/src/simplewallet/CMakeLists.txt
index 304063b7a..14f877907 100644
--- a/src/simplewallet/CMakeLists.txt
+++ b/src/simplewallet/CMakeLists.txt
@@ -52,7 +52,7 @@ target_link_libraries(simplewallet
mnemonics
${UNBOUND_LIBRARY}
${UPNP_LIBRARIES}
- ${Boost_LIBRARIES}
+ ${CMAKE_THREAD_LIBS_INIT}
${EXTRA_LIBRARIES})
add_dependencies(simplewallet
version)
diff --git a/tests/functional_tests/CMakeLists.txt b/tests/functional_tests/CMakeLists.txt
index b91f8afec..71b7c6e01 100644
--- a/tests/functional_tests/CMakeLists.txt
+++ b/tests/functional_tests/CMakeLists.txt
@@ -45,7 +45,8 @@ target_link_libraries(functional_tests
common
crypto
${UNBOUND_LIBRARY}
- ${Boost_LIBRARIES}
+ ${Boost_REGEX_LIBRARY}
+ ${CMAKE_THREAD_LIBS_INIT}
${EXTRA_LIBRARIES})
set_property(TARGET functional_tests
PROPERTY
diff --git a/tests/performance_tests/CMakeLists.txt b/tests/performance_tests/CMakeLists.txt
index f1734b2a0..ed4d3d4b6 100644
--- a/tests/performance_tests/CMakeLists.txt
+++ b/tests/performance_tests/CMakeLists.txt
@@ -53,7 +53,8 @@ target_link_libraries(performance_tests
common
crypto
${UNBOUND_LIBRARY}
- ${Boost_LIBRARIES}
+ ${Boost_CHRONO_LIBRARY}
+ ${CMAKE_THREAD_LIBS_INIT}
${EXTRA_LIBRARIES})
set_property(TARGET performance_tests
PROPERTY