We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e80ff3d commit f92305aCopy full SHA for f92305a
tests/CMakeLists.txt
@@ -309,6 +309,7 @@ if (NOT GTEST_FOUND)
309
target_compile_definitions(${target} INTERFACE GTEST_LINKED_AS_SHARED_LIBRARY=1)
310
endforeach ()
311
target_compile_definitions(${PLSSVM_BASE_TEST_LIBRARY_NAME} PUBLIC GTEST_HAS_MAIN=0)
312
+ set_target_properties(GTest::gtest_main PROPERTIES EXCLUDE_FROM_ALL ON EXCLUDE_FROM_DEFAULT_BUILD ON)
313
endif ()
314
315
list(POP_BACK CMAKE_MESSAGE_INDENT)
0 commit comments