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 @@ add_executable(libwallet_api_tests
target_link_libraries(libwallet_api_tests
LINK_PRIVATE
wallet
${GTEST_MAIN_LIBRARIES}
${GTEST_LIBRARIES}
${EXTRA_LIBRARIES})
set_property(TARGET libwallet_api_tests