Skip to content

Commit 8e25915

Browse files
committed
Only link against gmock.
1 parent 4e8d43f commit 8e25915

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ target_compile_definitions(${PLSSVM_BASE_TEST_LIBRARY_NAME} PUBLIC PLSSVM_REGRES
145145
target_link_libraries(${PLSSVM_BASE_TEST_LIBRARY_NAME} PUBLIC ${PLSSVM_ALL_LIBRARY_NAME})
146146

147147
# link against gtest
148-
target_link_libraries(${PLSSVM_BASE_TEST_LIBRARY_NAME} PUBLIC GTest::gmock GTest::gtest)
148+
target_link_libraries(${PLSSVM_BASE_TEST_LIBRARY_NAME} PUBLIC GTest::gmock)
149149

150150
# create base tests
151151
set(PLSSVM_BASE_TEST_NAME Base_tests)

0 commit comments

Comments
 (0)