Skip to content
Permalink
Browse files

Update for d7a7a46, make sure targets are always built for install

  • Loading branch information
dakcarto committed Oct 31, 2012
1 parent d7a7a46 commit d6e832d60288cb09eb19e18106f4c8d686b9a738
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/CMakeLists.txt
@@ -8,9 +8,9 @@ ENDIF(WITH_PY_COMPILE)

MACRO (PLUGIN_INSTALL plugin subdir )
INSTALL(FILES ${ARGN} DESTINATION ${QGIS_DATA_DIR}/python/plugins/${plugin}/${subdir})
STRING(REPLACE "/" "_" subdir_sane "${subdir}")
ADD_CUSTOM_TARGET(${plugin}_${subdir_sane}_stageinstall ALL DEPENDS ${ARGN})
IF(WITH_STAGED_PLUGINS OR "${plugin}" STREQUAL "plugin_installer")
STRING(REPLACE "/" "_" subdir_sane "${subdir}")
ADD_CUSTOM_TARGET(${plugin}_${subdir_sane}_stageinstall ALL DEPENDS ${ARGN})
IF(WITH_PY_COMPILE)
ADD_DEPENDENCIES(pycompile_staged ${plugin}_${subdir_sane}_stageinstall)
ENDIF(WITH_PY_COMPILE)

0 comments on commit d6e832d

Please sign in to comment.
You can’t perform that action at this time.