Commit df2f9d21 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Fix pri file generation

Summary: ecm_generate_pri_file needs to be called after the target is defined

Reviewers: #kde_pim, lbeltrame, vkrause

Reviewed By: #kde_pim, vkrause

Subscribers: kde-pim

Tags: #kde_pim

Differential Revision: https://phabricator.kde.org/D27233
parent ac296d4e
......@@ -99,11 +99,6 @@ install(FILES
COMPONENT Devel
)
ecm_generate_pri_file(BASE_NAME MimeTreeParser
LIB_NAME KF5MimeTreeParser
FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR_KF5}/MimeTreeParser
)
install(FILES
${PRI_FILENAME}
DESTINATION ${ECM_MKSPECS_INSTALL_DIR}
......@@ -150,3 +145,8 @@ set_target_properties(KF5MimeTreeParser PROPERTIES
target_include_directories(KF5MimeTreeParser INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF5}/MimeTreeParser/;${KDE_INSTALL_INCLUDEDIR_KF5}/mimetreeparser>")
ecm_generate_pri_file(BASE_NAME MimeTreeParser
LIB_NAME KF5MimeTreeParser
FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR_KF5}/MimeTreeParser
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment