From 6087a9b40685ec564a37e9c26482c492dde2e38f Mon Sep 17 00:00:00 2001 From: David Faure Date: Sat, 25 Jan 2014 10:37:27 +0100 Subject: Generate and install .pri file --- src/core/CMakeLists.txt | 4 ++++ src/gui/CMakeLists.txt | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'src') 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}) -- cgit v1.2.1