Commit 5994ad66 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix install headers

parent 85700d96
Pipeline #128052 passed with stage
in 1 minute and 4 seconds
......@@ -104,7 +104,7 @@ install(EXPORT KF5EventViewsTargets DESTINATION "${CMAKECONFIG_INSTALL_DIR}" FIL
install(FILES
${CMAKE_CURRENT_BINARY_DIR}/eventviews_version.h
DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF} COMPONENT Devel
DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/EventViews COMPONENT Devel
)
add_subdirectory(src)
......
......@@ -137,7 +137,7 @@ PRIVATE
KF5::Contacts
)
target_include_directories(KF5EventViews INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF}/EventViews/;${KDE_INSTALL_INCLUDEDIR_KF}/eventviews>")
target_include_directories(KF5EventViews INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF}/EventViews/>")
target_include_directories(KF5EventViews PUBLIC "$<BUILD_INTERFACE:${eventviews_SOURCE_DIR}/src;${eventviews_BINARY_DIR}/src;>")
set_target_properties(KF5EventViews PROPERTIES
......@@ -245,7 +245,7 @@ install(FILES
${eventviews_CamelCasejournal_HEADERS}
${eventviews_CamelCaselist_HEADERS}
${eventviews_CamelCasemonth_HEADERS}
DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/EventViews
DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/EventViews/EventViews
COMPONENT Devel
)
......@@ -261,7 +261,7 @@ install(FILES
${eventviews_journal_HEADERS}
${eventviews_list_HEADERS}
${eventviews_month_HEADERS}
DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/eventviews
DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/EventViews/eventviews
COMPONENT Devel
)
......
Supports Markdown
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