From b341f9b28077ab3aa1c871d9c61cbce932d82eea Mon Sep 17 00:00:00 2001 From: Olivier LDff Date: Thu, 15 Jul 2021 15:15:04 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Don't=20install=20gtest=20with?= =?UTF-8?q?=20QOlm=20This=20allow=20to=20build=20with=20tests=20and=20stil?= =?UTF-8?q?l=20be=20able=20to=20install?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmake/FetchGTest.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/FetchGTest.cmake b/cmake/FetchGTest.cmake index 2bdded3..91631ae 100644 --- a/cmake/FetchGTest.cmake +++ b/cmake/FetchGTest.cmake @@ -11,6 +11,7 @@ FetchContent_Declare( ) set(gtest_force_shared_crt ON CACHE BOOL "" FORCE) +option(INSTALL_GTEST "Enable installation of googletest. (Projects embedding googletest may want to turn this OFF.)" OFF) FetchContent_MakeAvailable(googletest) set_target_properties(gtest gtest_main gmock gmock_main PROPERTIES FOLDER "Dependencies/gtest")