fix gmock being build and gtest and gmock being installed

Mon, 20 Feb 2023 19:14:42 +0100

author
Mike Becker <universe@uap-core.de>
date
Mon, 20 Feb 2023 19:14:42 +0100
changeset 656
2ccb9f881420
parent 655
7340c4255f1f
child 657
3eeadf666d6b

fix gmock being build and gtest and gmock being installed

tests/CMakeLists.txt file | annotate | diff | comparison | revisions
--- a/tests/CMakeLists.txt	Wed Feb 15 16:48:11 2023 +0100
+++ b/tests/CMakeLists.txt	Mon Feb 20 19:14:42 2023 +0100
@@ -1,6 +1,9 @@
-# Load Google Test Framework
+# Use C++ for Testing
 set(CMAKE_CXX_STANDARD 17)
 
+# Load Google Test Framework
+set(INSTALL_GTEST OFF)
+set(BUILD_GMOCK OFF)
 include(FetchContent)
 FetchContent_Declare(
         googletest

mercurial