Skip to content

Commit

Permalink
Update for d7a7a46, make sure targets are always built for install
Browse files Browse the repository at this point in the history
  • Loading branch information
dakcarto committed Oct 31, 2012
1 parent d7a7a46 commit d6e832d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/CMakeLists.txt
Expand Up @@ -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)
Expand Down

0 comments on commit d6e832d

Please sign in to comment.