File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ MACRO(PY_2TO3 TARGET_NAME RESOURCE_PATHS)
59
59
POST_BUILD
60
60
COMMAND "${PYTHON_EXECUTABLE} " "${CMAKE_SOURCE_DIR} /scripts/2to3" --no -diffs -w ${RESOURCE_PATHS}
61
61
WORKING_DIRECTORY "${CMAKE_BINARY_DIR} "
62
- COMMENT "Porting to Python 3 and Qt5"
62
+ COMMENT "Porting ${RESOURCE_PATHS} to Python 3 and Qt5"
63
63
)
64
64
ENDMACRO (PY_2TO3)
65
65
Original file line number Diff line number Diff line change @@ -11,10 +11,11 @@ FILE(WRITE ${CMAKE_BINARY_DIR}/stagecount 0)
11
11
# The target port-plugins acts as a container for all port-plugin-XXX targets
12
12
# Each port-plugin-XXX target will run scripts/2to3 on a plugin and migrate
13
13
# Python 3 and Qt 5 code.
14
- ADD_CUSTOM_TARGET (port-plugins)
15
14
SET (PORT_PLUGINS FALSE CACHE BOOL "Determines whether python plugins in staged or installed locations should be migrated to Python 3 and Qt 5" )
16
15
IF (PORT_PLUGINS)
17
- ADD_CUSTOM_TARGET (port-plugins-on -build ALL DEPENDS port-plugins)
16
+ ADD_CUSTOM_TARGET (port-plugins ALL )
17
+ ELSE (PORT_PLUGINS)
18
+ ADD_CUSTOM_TARGET (port-plugins)
18
19
ENDIF (PORT_PLUGINS)
19
20
20
21
MACRO (PLUGIN_INSTALL plugin subdir )
You can’t perform that action at this time.
0 commit comments