From 640a934d5f6163f1069dda933c590bf463d0d5d1 Mon Sep 17 00:00:00 2001 From: redfish Date: Mon, 29 Aug 2016 13:56:34 -0400 Subject: tests: cmake: fix building with system gtest Issues #980 #983 --- tests/libwallet_api_tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/libwallet_api_tests') diff --git a/tests/libwallet_api_tests/CMakeLists.txt b/tests/libwallet_api_tests/CMakeLists.txt index e60947084..416192cce 100644 --- a/tests/libwallet_api_tests/CMakeLists.txt +++ b/tests/libwallet_api_tests/CMakeLists.txt @@ -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 -- cgit v1.2.3