Verified Commit f90f9f80 authored by Luca Beltrame's avatar Luca Beltrame
Browse files

Move ecm_generate_pri_file below the definition of the target

So it will get defined first and not error out.
parent 746d587a
......@@ -82,15 +82,6 @@ install(FILES
COMPONENT Devel
)
ecm_generate_pri_file(BASE_NAME kdav
LIB_NAME KF5DAV
FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR}/KDAV
)
install(FILES
${PRI_FILENAME}
DESTINATION ${ECM_MKSPECS_INSTALL_DIR}
)
ecm_qt_declare_logging_category(libkdav_SRCS HEADER libkdav_debug.h IDENTIFIER KDAV_LOG CATEGORY_NAME org.kde.pim.kdav)
......@@ -126,4 +117,14 @@ install(TARGETS
${LIBRARY_NAMELINK}
)
ecm_generate_pri_file(BASE_NAME kdav
LIB_NAME KF5DAV
FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR}/KDAV
)
install(FILES
${PRI_FILENAME}
DESTINATION ${ECM_MKSPECS_INSTALL_DIR}
)
target_include_directories(KF5DAV INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR}/KF5/KDAV/;${KDE_INSTALL_INCLUDEDIR}/KF5/kdav;${KDE_INSTALL_INCLUDEDIR}/KF5>")
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