File tree 3 files changed +0
-26
lines changed
3 files changed +0
-26
lines changed Original file line number Diff line number Diff line change 3
3
4
4
cmake_minimum_required (VERSION 3.13)
5
5
6
- if (POLICY CMP0069)
7
- cmake_policy (SET CMP0069 NEW)
8
- endif (POLICY CMP0069)
9
-
10
- if (POLICY CMP0077)
11
- cmake_policy (SET CMP0077 NEW)
12
- endif (POLICY CMP0077)
13
-
14
6
project (googletest-distribution)
15
7
set (GOOGLETEST_VERSION 1.13.0)
16
8
Original file line number Diff line number Diff line change @@ -49,10 +49,6 @@ endif()
49
49
cmake_minimum_required (VERSION 3.13)
50
50
project (gtest VERSION ${GOOGLETEST_VERSION} LANGUAGES CXX C)
51
51
52
- if (POLICY CMP0063) # Visibility
53
- cmake_policy (SET CMP0063 NEW)
54
- endif (POLICY CMP0063)
55
-
56
52
if (COMMAND set_up_hermetic_build)
57
53
set_up_hermetic_build()
58
54
endif ()
Original file line number Diff line number Diff line change 12
12
# Test and Google Mock's option() definitions, and thus must be
13
13
# called *after* the options have been defined.
14
14
15
- if (POLICY CMP0054)
16
- cmake_policy (SET CMP0054 NEW)
17
- endif (POLICY CMP0054)
18
-
19
- if (POLICY CMP0069)
20
- cmake_policy (SET CMP0069 NEW)
21
- endif (POLICY CMP0069)
22
-
23
15
# Tweaks CMake's default compiler/linker settings to suit Google Test's needs.
24
16
#
25
17
# This must be a macro(), as inside a function string() can only
@@ -264,12 +256,6 @@ function(cxx_executable name dir libs)
264
256
${name} "${cxx_default} " "${libs} " "${dir} /${name} .cc" ${ARGN} )
265
257
endfunction ()
266
258
267
- # CMP0094 policy enables finding a Python executable in the LOCATION order, as
268
- # specified by the PATH environment variable.
269
- if (POLICY CMP0094)
270
- cmake_policy (SET CMP0094 NEW)
271
- endif ()
272
-
273
259
# Sets PYTHONINTERP_FOUND and PYTHON_EXECUTABLE.
274
260
if ("${CMAKE_VERSION} " VERSION_LESS "3.12.0" )
275
261
find_package (PythonInterp)
You can’t perform that action at this time.
0 commit comments