From b6889b7a31b6e5f05600b2b49e36b02e99fc5d5c Mon Sep 17 00:00:00 2001 From: Julian Büning Date: Sun, 2 Jan 2022 18:42:17 +0100 Subject: fix CMake: GTEST_INSTALL -> INSTALL_GTEST As far as I can tell, the variable intended to be set here was never called GTEST_INSTALL. --- unittests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unittests') diff --git a/unittests/CMakeLists.txt b/unittests/CMakeLists.txt index 8f5d2c62..da041e28 100644 --- a/unittests/CMakeLists.txt +++ b/unittests/CMakeLists.txt @@ -117,7 +117,7 @@ else() # Prevent Google Test from adding to our install target. # Required for >= 1.8.0, but can only be disabled starting with 1.8.1 - set(GTEST_INSTALL OFF CACHE BOOL "disable installing Google Test" FORCE) + set(INSTALL_GTEST OFF CACHE BOOL "disable installing Google Test" FORCE) # Build Google Test as part of our project add_subdirectory(${GTEST_SRC_DIR} "${CMAKE_CURRENT_BINARY_DIR}/gtest_build") -- cgit 1.4.1