aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/CMakeLists.txt
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-10-21 13:27:47 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2014-10-23 16:42:34 -0400
commitfa3ff758624e9c9704a4a541c195e10335debc3c (patch)
treec72ffebff0ef2daabf7dccfde9e8eaf1f6491e19 /tests/unit_tests/CMakeLists.txt
parentcmake: put each test executable in its own directory (diff)
downloadmonero-fa3ff758624e9c9704a4a541c195e10335debc3c.tar.xz
gtest: support an external gtest
Diffstat (limited to 'tests/unit_tests/CMakeLists.txt')
-rw-r--r--tests/unit_tests/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/CMakeLists.txt b/tests/unit_tests/CMakeLists.txt
index f9ee5919a..0a2247084 100644
--- a/tests/unit_tests/CMakeLists.txt
+++ b/tests/unit_tests/CMakeLists.txt
@@ -58,7 +58,7 @@ target_link_libraries(unit_tests
cryptonote_core
rpc
wallet
- gtest_main
+ ${GTEST_MAIN_LIBRARIES}
${Boost_CHRONO_LIBRARY}
${Boost_REGEX_LIBRARY}
${Boost_SYSTEM_LIBRARY}