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/gui/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui') 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