1 # Load Google Test Framework |
1 # Use C++ for Testing |
2 set(CMAKE_CXX_STANDARD 17) |
2 set(CMAKE_CXX_STANDARD 17) |
3 |
3 |
|
4 # Load Google Test Framework |
|
5 set(INSTALL_GTEST OFF) |
|
6 set(BUILD_GMOCK OFF) |
4 include(FetchContent) |
7 include(FetchContent) |
5 FetchContent_Declare( |
8 FetchContent_Declare( |
6 googletest |
9 googletest |
7 GIT_REPOSITORY https://github.com/google/googletest.git |
10 GIT_REPOSITORY https://github.com/google/googletest.git |
8 GIT_TAG e2239ee6043f73722e7aa812a459f54a28552929 # release 1.11.0 |
11 GIT_TAG e2239ee6043f73722e7aa812a459f54a28552929 # release 1.11.0 |