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
     1.1 --- a/tests/CMakeLists.txt	Wed Feb 15 16:48:11 2023 +0100
     1.2 +++ b/tests/CMakeLists.txt	Mon Feb 20 19:14:42 2023 +0100
     1.3 @@ -1,6 +1,9 @@
     1.4 -# Load Google Test Framework
     1.5 +# Use C++ for Testing
     1.6  set(CMAKE_CXX_STANDARD 17)
     1.7  
     1.8 +# Load Google Test Framework
     1.9 +set(INSTALL_GTEST OFF)
    1.10 +set(BUILD_GMOCK OFF)
    1.11  include(FetchContent)
    1.12  FetchContent_Declare(
    1.13          googletest

mercurial