blob: 86927a752553ca41c3c5835855c173d7de1c79d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- a/googlemock/CMakeLists.txt
+++ b/googlemock/CMakeLists.txt
@@ -40,6 +40,7 @@
# ${gmock_BINARY_DIR}.
# Language "C" is required for find_package(Threads).
cmake_minimum_required(VERSION 3.13)
+ set(GOOGLETEST_VERSION __GOOGLETEST_VERSION__)
project(gmock VERSION ${GOOGLETEST_VERSION} LANGUAGES CXX C)
if (COMMAND set_up_hermetic_build)
--- a/googletest/CMakeLists.txt
+++ b/googletest/CMakeLists.txt
@@ -46,6 +46,7 @@
# Project version:
cmake_minimum_required(VERSION 3.13)
+set(GOOGLETEST_VERSION __GOOGLETEST_VERSION__)
project(gtest VERSION ${GOOGLETEST_VERSION} LANGUAGES CXX C)
if (POLICY CMP0063) # Visibility
|