Skip to content

Commit f93f844

Browse files
author
Sandro Santilli
committed
Allow running plugin_installer plugin from build dir
See http://hub.qgis.org/issues/5879
1 parent a42071d commit f93f844

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

python/plugins/plugin_installer/CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,4 @@ PYQT4_WRAP_UI(PYUI_FILES
2525

2626
PYQT4_ADD_RESOURCES(PYRC_FILES resources.qrc)
2727

28-
ADD_CUSTOM_TARGET(pluginstaller ALL DEPENDS ${PYUI_FILES} ${PYRC_FILES})
29-
30-
INSTALL(FILES ${PYUI_FILES} DESTINATION ${QGIS_DATA_DIR}/python/plugins/plugin_installer)
31-
INSTALL(FILES ${PYRC_FILES} DESTINATION ${QGIS_DATA_DIR}/python/plugins/plugin_installer)
32-
INSTALL(FILES ${INSTALLER_FILES} DESTINATION ${QGIS_DATA_DIR}/python/plugins/plugin_installer)
28+
PLUGIN_INSTALL(plugin_installer . ${PYUI_FILES} ${PYRC_FILES} ${INSTALLER_FILES})

0 commit comments

Comments
 (0)