aboutsummaryrefslogtreecommitdiff
path: root/tests/net_load_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/net_load_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 'tests/net_load_tests')
-rw-r--r--tests/net_load_tests/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
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}