summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-09-22 08:24:06 +0200
committerMontel Laurent <[email protected]>2015-09-22 08:24:06 +0200
commit43591ae94eca68a6cc4f1f04fb66e4f074f9d24f (patch)
tree8e7e41df99fa35a59872ea5e873000f92162ed92
parent581b5ac35f07660accab4671038f32b0e6ade7f9 (diff)
install pri file
-rw-r--r--noteshared/src/CMakeLists.txt10
-rw-r--r--templateparser/src/CMakeLists.txt10
2 files changed, 20 insertions, 0 deletions
diff --git a/noteshared/src/CMakeLists.txt b/noteshared/src/CMakeLists.txt
index c3947ed..799a4ae 100644
--- a/noteshared/src/CMakeLists.txt
+++ b/noteshared/src/CMakeLists.txt
@@ -182,6 +182,12 @@ ecm_generate_headers(NoteShared_job_HEADERS
RELATIVE job
)
+ecm_generate_pri_file(BASE_NAME NoteShared
+ LIB_NAME KF5NoteShared
+ DEPS "AkonadiCore" FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR_KF5}/NoteShared
+)
+
+
if(${CMAKE_SOURCE_DIR} STREQUAL ${noteshared_SOURCE_DIR})
install(FILES
${NoteShared_CamelCase_HEADERS}
@@ -217,4 +223,8 @@ install(FILES
DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/noteshared
COMPONENT Devel
)
+install(FILES
+ ${PRI_FILENAME}
+ DESTINATION ${ECM_MKSPECS_INSTALL_DIR})
+
endif()
diff --git a/templateparser/src/CMakeLists.txt b/templateparser/src/CMakeLists.txt
index 9de7621..3f52184 100644
--- a/templateparser/src/CMakeLists.txt
+++ b/templateparser/src/CMakeLists.txt
@@ -81,6 +81,12 @@ ecm_generate_headers(TemplateParser_CamelCase_HEADERS
PREFIX TemplateParser
)
+ecm_generate_pri_file(BASE_NAME TemplateParser
+ LIB_NAME KF5TemplateParser
+ DEPS "PimCommon" FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR_KF5}/TemplateParser
+)
+
+
install(TARGETS KF5TemplateParser EXPORT KF5TemplateParserTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
if(${CMAKE_SOURCE_DIR} STREQUAL ${TemplateParser_SOURCE_DIR})
@@ -103,4 +109,8 @@ install(FILES
COMPONENT Devel
)
+install(FILES
+ ${PRI_FILENAME}
+ DESTINATION ${ECM_MKSPECS_INSTALL_DIR})
+
endif()