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 ++++ 1 file changed, 4 insertions(+) (limited to 'src/core') 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}) -- cgit v1.2.1