tests: cmake: fix building with system gtest

Issues #980 #983
This commit is contained in:
redfish 2016-08-29 13:56:34 -04:00
parent 4a9e94944c
commit 640a934d5f
6 changed files with 10 additions and 9 deletions

View file

@ -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}