aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2014-01-25 10:37:27 +0100
committerDavid Faure <faure@kde.org>2014-01-25 10:38:07 +0100
commit6087a9b40685ec564a37e9c26482c492dde2e38f (patch)
treee78afa5a4cfdb51b64881f3fa55b23f162d097dc
parentfed52787720d49eca88599d97aebc66bb208226c (diff)
downloadkconfig-6087a9b40685ec564a37e9c26482c492dde2e38f.tar.gz
kconfig-6087a9b40685ec564a37e9c26482c492dde2e38f.tar.bz2
Generate and install .pri file
-rw-r--r--src/core/CMakeLists.txt4
-rw-r--r--src/gui/CMakeLists.txt4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 2464401f..f9f71bcd 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -55,3 +55,7 @@ install(FILES
${KConfigCore_HEADERS}
DESTINATION ${INCLUDE_INSTALL_DIR}/KConfigCore COMPONENT Devel
)
+
+include(ECMGeneratePriFile)
+ecm_generate_pri_file(BASE_NAME KConfigCore LIB_NAME KF5ConfigCore DEPS "core" FILENAME_VAR PRI_FILENAME)
+install(FILES ${PRI_FILENAME} DESTINATION ${ECM_MKSPECS_INSTALL_DIR})
diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt
index fc2ace47..75d13fa0 100644
--- a/src/gui/CMakeLists.txt
+++ b/src/gui/CMakeLists.txt
@@ -42,3 +42,7 @@ install(FILES
${KConfigGui_HEADERS}
DESTINATION ${INCLUDE_INSTALL_DIR}/KConfigGui COMPONENT Devel
)
+
+include(ECMGeneratePriFile)
+ecm_generate_pri_file(BASE_NAME KConfigGui LIB_NAME KF5ConfigGui DEPS "gui xml KConfigCore" FILENAME_VAR PRI_FILENAME)
+install(FILES ${PRI_FILENAME} DESTINATION ${ECM_MKSPECS_INSTALL_DIR})