aboutsummaryrefslogtreecommitdiff
path: root/tests/net_load_tests/CMakeLists.txt
diff options
context:
space:
mode:
authorredfish <redfish@galactica.pw>2016-08-29 13:56:34 -0400
committerredfish <redfish@galactica.pw>2016-08-30 23:04:53 -0400
commit640a934d5f6163f1069dda933c590bf463d0d5d1 (patch)
tree6810f4649e2e84817378480d1ec4d7b2e7ad27b1 /tests/net_load_tests/CMakeLists.txt
parenttests: cmake: use a list for enabled tests (diff)
downloadmonero-640a934d5f6163f1069dda933c590bf463d0d5d1.tar.xz
tests: cmake: fix building with system gtest
Issues #980 #983
Diffstat (limited to 'tests/net_load_tests/CMakeLists.txt')
-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 c3a68d18d..2c97acf51 100644
--- a/tests/net_load_tests/CMakeLists.txt
+++ b/tests/net_load_tests/CMakeLists.txt
@@ -40,7 +40,7 @@ target_link_libraries(net_load_tests_clt
otshell_utils
p2p
cryptonote_core
- ${GTEST_MAIN_LIBRARIES}
+ ${GTEST_LIBRARIES}
${Boost_CHRONO_LIBRARY}
${Boost_DATE_TIME_LIBRARY}
${Boost_FILESYSTEM_LIBRARY}
@@ -62,7 +62,7 @@ target_link_libraries(net_load_tests_srv
otshell_utils
p2p
cryptonote_core
- ${GTEST_MAIN_LIBRARIES}
+ ${GTEST_LIBRARIES}
${Boost_CHRONO_LIBRARY}
${Boost_DATE_TIME_LIBRARY}
${Boost_FILESYSTEM_LIBRARY}