about summary refs log tree commit diff homepage
path: root/unittests
diff options
context:
space:
mode:
authorJulian Büning <julian.buening@rwth-aachen.de>2022-01-02 18:42:17 +0100
committerMartinNowack <2443641+MartinNowack@users.noreply.github.com>2022-01-05 20:22:12 +0000
commitb6889b7a31b6e5f05600b2b49e36b02e99fc5d5c (patch)
tree0c5489a8d99f22df954ee034baede6388b727b7e /unittests
parent27a199e96d21019e379f012475bb11ad1c677330 (diff)
downloadklee-b6889b7a31b6e5f05600b2b49e36b02e99fc5d5c.tar.gz
fix CMake: GTEST_INSTALL -> INSTALL_GTEST
As far as I can tell, the variable intended to be set here was never
called GTEST_INSTALL.
Diffstat (limited to 'unittests')
-rw-r--r--unittests/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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")