diff --git a/python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview/CMakeLists.txt b/python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview/CMakeLists.txt index 3e7111047f3..41e201b14d8 100644 --- a/python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview/CMakeLists.txt +++ b/python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview/CMakeLists.txt @@ -3,5 +3,5 @@ SET (DB_MANAGER_POSTGIS_TOPOVIEW_DIR ${DB_MANAGER_POSTGIS_DIR}/plugins/qgis_topo FILE(GLOB PY_FILES *.py) INSTALL(FILES ${PY_FILES} DESTINATION ${DB_MANAGER_POSTGIS_TOPOVIEW_DIR}) -INSTALL(FILES topoview_template.qgs DESTINATION ${DB_MANAGER_POSTGIS_TOPOVIEW_DIR}) +ADD_SUBDIRECTORY(templates) diff --git a/python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview/templates/CMakeLists.txt b/python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview/templates/CMakeLists.txt new file mode 100644 index 00000000000..be934aa3148 --- /dev/null +++ b/python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview/templates/CMakeLists.txt @@ -0,0 +1,5 @@ +SET (DB_MANAGER_POSTGIS_TOPOVIEW_TEMPLATE_DIR ${DB_MANAGER_POSTGIS_DIR}/plugins/qgis_topoview/templates) + +FILE(GLOB QML_FILES *.qml) + +INSTALL(FILES ${QML_FILES} DESTINATION ${DB_MANAGER_POSTGIS_TOPOVIEW_TEMPLATE_DIR})