aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-10-24 14:48:14 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2014-10-24 15:29:51 -0400
commit7d708e422397fb0ba8ac29855eb27964115e7217 (patch)
tree4bc144c393ff8c14d2a6bd443668088f4db5a189 /tests
parentcmake: fix up miniupnpc's define (diff)
downloadmonero-7d708e422397fb0ba8ac29855eb27964115e7217.tar.xz
cmake: support 2.8.7
Older versions of CMake support LINK_{PUBLIC,PRIVATE} while newer versions prefer PUBLIC and PRIVATE instead, but still support the LINK_ prefix.
Diffstat (limited to '')
-rw-r--r--tests/CMakeLists.txt2
-rw-r--r--tests/core_proxy/CMakeLists.txt2
-rw-r--r--tests/core_tests/CMakeLists.txt2
-rw-r--r--tests/daemon_tests/CMakeLists.txt2
-rw-r--r--tests/difficulty/CMakeLists.txt2
-rw-r--r--tests/functional_tests/CMakeLists.txt2
-rw-r--r--tests/hash/CMakeLists.txt2
-rw-r--r--tests/net_load_tests/CMakeLists.txt4
-rw-r--r--tests/performance_tests/CMakeLists.txt2
-rw-r--r--tests/unit_tests/CMakeLists.txt2
10 files changed, 11 insertions, 11 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 0f99cab73..ae20b8754 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -75,7 +75,7 @@ add_executable(hash-target-tests
${hash_targets_sources}
${hash_targets_headers})
target_link_libraries(hash-target-tests
- PRIVATE
+ LINK_PRIVATE
cryptonote_core)
set_property(TARGET hash-target-tests
PROPERTY
diff --git a/tests/core_proxy/CMakeLists.txt b/tests/core_proxy/CMakeLists.txt
index 7186f2c21..ab6f7d043 100644
--- a/tests/core_proxy/CMakeLists.txt
+++ b/tests/core_proxy/CMakeLists.txt
@@ -36,7 +36,7 @@ add_executable(core_proxy
${core_proxy_sources}
${core_proxy_headers})
target_link_libraries(core_proxy
- PRIVATE
+ LINK_PRIVATE
cryptonote_core
${UPNP_LIBRARIES}
${Boost_CHRONO_LIBRARY}
diff --git a/tests/core_tests/CMakeLists.txt b/tests/core_tests/CMakeLists.txt
index b8f07b3d2..72c079554 100644
--- a/tests/core_tests/CMakeLists.txt
+++ b/tests/core_tests/CMakeLists.txt
@@ -58,7 +58,7 @@ add_executable(coretests
${core_tests_sources}
${core_tests_headers})
target_link_libraries(coretests
- PRIVATE
+ LINK_PRIVATE
cryptonote_core
${Boost_FILESYSTEM_LIBRARY}
${Boost_SYSTEM_LIBRARY}
diff --git a/tests/daemon_tests/CMakeLists.txt b/tests/daemon_tests/CMakeLists.txt
index 2b7c82ff0..b7a93481c 100644
--- a/tests/daemon_tests/CMakeLists.txt
+++ b/tests/daemon_tests/CMakeLists.txt
@@ -35,7 +35,7 @@ add_executable(transfers
${transfers_sources}
${transfers_headers})
target_link_libraries(transfers
- PRIVATE
+ LINK_PRIVATE
useragent
rpc
cryptonote_core
diff --git a/tests/difficulty/CMakeLists.txt b/tests/difficulty/CMakeLists.txt
index d4ec5bd86..20600a15a 100644
--- a/tests/difficulty/CMakeLists.txt
+++ b/tests/difficulty/CMakeLists.txt
@@ -35,7 +35,7 @@ add_executable(difficulty-tests
${difficulty_sources}
${difficulty_headers})
target_link_libraries(difficulty-tests
- PRIVATE
+ LINK_PRIVATE
cryptonote_core)
set_property(TARGET difficulty-tests
PROPERTY
diff --git a/tests/functional_tests/CMakeLists.txt b/tests/functional_tests/CMakeLists.txt
index f778d3265..b91f8afec 100644
--- a/tests/functional_tests/CMakeLists.txt
+++ b/tests/functional_tests/CMakeLists.txt
@@ -39,7 +39,7 @@ add_executable(functional_tests
${functional_tests_sources}
${functional_tests_headers})
target_link_libraries(functional_tests
- PRIVATE
+ LINK_PRIVATE
cryptonote_core
wallet
common
diff --git a/tests/hash/CMakeLists.txt b/tests/hash/CMakeLists.txt
index 4f55552d0..2f441d623 100644
--- a/tests/hash/CMakeLists.txt
+++ b/tests/hash/CMakeLists.txt
@@ -35,7 +35,7 @@ add_executable(hash-tests
${hash_sources}
${hash_headers})
target_link_libraries(hash-tests
- PRIVATE
+ LINK_PRIVATE
crypto)
set_property(TARGET hash-tests
PROPERTY
diff --git a/tests/net_load_tests/CMakeLists.txt b/tests/net_load_tests/CMakeLists.txt
index 8303b50c0..114d0e680 100644
--- a/tests/net_load_tests/CMakeLists.txt
+++ b/tests/net_load_tests/CMakeLists.txt
@@ -36,7 +36,7 @@ add_executable(net_load_tests_clt
${clt_sources}
${clt_headers})
target_link_libraries(net_load_tests_clt
- PRIVATE
+ LINK_PRIVATE
${GTEST_MAIN_LIBRARIES}
${Boost_CHRONO_LIBRARY}
${Boost_DATE_TIME_LIBRARY}
@@ -55,7 +55,7 @@ add_executable(net_load_tests_srv
${srv_sources}
${srv_headers})
target_link_libraries(net_load_tests_srv
- PRIVATE
+ LINK_PRIVATE
${GTEST_MAIN_LIBRARIES}
${Boost_CHRONO_LIBRARY}
${Boost_DATE_TIME_LIBRARY}
diff --git a/tests/performance_tests/CMakeLists.txt b/tests/performance_tests/CMakeLists.txt
index f842eee7e..f1734b2a0 100644
--- a/tests/performance_tests/CMakeLists.txt
+++ b/tests/performance_tests/CMakeLists.txt
@@ -48,7 +48,7 @@ add_executable(performance_tests
${performance_tests_sources}
${performance_tests_headers})
target_link_libraries(performance_tests
- PRIVATE
+ LINK_PRIVATE
cryptonote_core
common
crypto
diff --git a/tests/unit_tests/CMakeLists.txt b/tests/unit_tests/CMakeLists.txt
index 0a2247084..251f6b66e 100644
--- a/tests/unit_tests/CMakeLists.txt
+++ b/tests/unit_tests/CMakeLists.txt
@@ -54,7 +54,7 @@ add_executable(unit_tests
${unit_tests_sources}
${unit_tests_headers})
target_link_libraries(unit_tests
- PRIVATE
+ LINK_PRIVATE
cryptonote_core
rpc
wallet