File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -35,12 +35,6 @@ ADD_CUSTOM_TARGET(clean-staged-plugins
35
35
COMMAND ${CMAKE_COMMAND} -E remove_directory "${PYTHON_OUTPUT_DIRECTORY} /plugins"
36
36
)
37
37
38
- IF (POLICY CMP0040 ) # in CMake 3.0.0+
39
- # Skip 'TARGET signature of add_custom_command() must exist' warning, triggered by macro expansion
40
- CMAKE_POLICY (PUSH ) # see POP below (NOTE: must wrap related macros, which record policies)
41
- CMAKE_POLICY (SET CMP0040 OLD ) # temporary policy for staging/py_compile macros
42
- ENDIF (POLICY CMP0040 )
43
-
44
38
# Macro to byte-compile a target's staged Python resource(s)
45
39
MACRO (PY_COMPILE TARGET_NAME RESOURCE_PATHS )
46
40
IF (WITH_PY_COMPILE )
@@ -73,10 +67,6 @@ ADD_SUBDIRECTORY(pyplugin_installer)
73
67
ADD_SUBDIRECTORY (ext-libs )
74
68
ADD_SUBDIRECTORY (testing )
75
69
76
- IF (POLICY CMP0040 )
77
- CMAKE_POLICY (POP ) # see PUSH above
78
- ENDIF (POLICY CMP0040 )
79
-
80
70
INCLUDE_DIRECTORIES (SYSTEM
81
71
${PYTHON_INCLUDE_PATH}
82
72
${SIP_INCLUDE_DIR}
You can’t perform that action at this time.
0 commit comments