File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 2.8.8 )
1
+ cmake_minimum_required (VERSION 3.21 )
2
2
3
3
if (CMAKE_VERSION VERSION_LESS "3.1" )
4
4
add_definitions (-std=c++11)
Original file line number Diff line number Diff line change 39
39
cmake_policy (SET CMP0048 NEW)
40
40
project (gmock VERSION ${GOOGLETEST_VERSION} LANGUAGES CXX C)
41
41
endif ()
42
- cmake_minimum_required (VERSION 2.6.4 )
42
+ cmake_minimum_required (VERSION 3.21 )
43
43
44
44
if (COMMAND set_up_hermetic_build)
45
45
set_up_hermetic_build()
Original file line number Diff line number Diff line change 46
46
cmake_policy (SET CMP0048 NEW)
47
47
project (gtest VERSION ${GOOGLETEST_VERSION} LANGUAGES CXX C)
48
48
endif ()
49
- cmake_minimum_required (VERSION 2.6.4 )
49
+ cmake_minimum_required (VERSION 3.21 )
50
50
51
51
if (POLICY CMP0063) # Visibility
52
52
cmake_policy (SET CMP0063 NEW)
Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ function(cxx_executable name dir libs)
228
228
endfunction ()
229
229
230
230
# Sets PYTHONINTERP_FOUND and PYTHON_EXECUTABLE.
231
- find_package (PythonInterp )
231
+ find_package (Python3 )
232
232
233
233
# cxx_test_with_flags(name cxx_flags libs srcs...)
234
234
#
You can’t perform that action at this time.
0 commit comments