Skip to content

Commit d6e832d

Browse files
committedOct 31, 2012
Update for d7a7a46, make sure targets are always built for install
1 parent d7a7a46 commit d6e832d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎python/plugins/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ ENDIF(WITH_PY_COMPILE)
88

99
MACRO (PLUGIN_INSTALL plugin subdir )
1010
INSTALL(FILES ${ARGN} DESTINATION ${QGIS_DATA_DIR}/python/plugins/${plugin}/${subdir})
11+
STRING(REPLACE "/" "_" subdir_sane "${subdir}")
12+
ADD_CUSTOM_TARGET(${plugin}_${subdir_sane}_stageinstall ALL DEPENDS ${ARGN})
1113
IF(WITH_STAGED_PLUGINS OR "${plugin}" STREQUAL "plugin_installer")
12-
STRING(REPLACE "/" "_" subdir_sane "${subdir}")
13-
ADD_CUSTOM_TARGET(${plugin}_${subdir_sane}_stageinstall ALL DEPENDS ${ARGN})
1414
IF(WITH_PY_COMPILE)
1515
ADD_DEPENDENCIES(pycompile_staged ${plugin}_${subdir_sane}_stageinstall)
1616
ENDIF(WITH_PY_COMPILE)

0 commit comments

Comments
 (0)
Please sign in to comment.