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 )
22
33if (CMAKE_VERSION VERSION_LESS "3.1" )
44 add_definitions (-std=c++11)
Original file line number Diff line number Diff line change 3939 cmake_policy (SET CMP0048 NEW)
4040 project (gmock VERSION ${GOOGLETEST_VERSION} LANGUAGES CXX C)
4141endif ()
42- cmake_minimum_required (VERSION 2.6.4 )
42+ cmake_minimum_required (VERSION 3.21 )
4343
4444if (COMMAND set_up_hermetic_build)
4545 set_up_hermetic_build()
Original file line number Diff line number Diff line change 4646 cmake_policy (SET CMP0048 NEW)
4747 project (gtest VERSION ${GOOGLETEST_VERSION} LANGUAGES CXX C)
4848endif ()
49- cmake_minimum_required (VERSION 2.6.4 )
49+ cmake_minimum_required (VERSION 3.21 )
5050
5151if (POLICY CMP0063) # Visibility
5252 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)
228228endfunction ()
229229
230230# Sets PYTHONINTERP_FOUND and PYTHON_EXECUTABLE.
231- find_package (PythonInterp )
231+ find_package (Python3 )
232232
233233# cxx_test_with_flags(name cxx_flags libs srcs...)
234234#
You can’t perform that action at this time.
0 commit comments