Mon, 20 Feb 2023 19:14:42 +0100
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