From e9232d56e50c234596bf66213ef3e5ef3f0cbcfe Mon Sep 17 00:00:00 2001 From: David Sankel Date: Mon, 2 Dec 2024 16:06:19 -0500 Subject: [PATCH] Remove BUILD_TESTING variable setting for GTest This variable doesn't control whether or not tests are built in the googletest repository. See https://github.com/google/googletest/blob/35d0c365609296fa4730d62057c487e3cfa030ff/googletest/CMakeLists.txt#L18 --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1cfdff0..45a240a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,7 +39,6 @@ if(BEMAN_EXEMPLAR_BUILD_TESTS) ) block() set(INSTALL_GTEST OFF) # Disable GoogleTest installation - set(BUILD_TESTING OFF) # Disable GoogleTest tests FetchContent_MakeAvailable(googletest) endblock() endif()