Commit 37dd8e49 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix install header. + use KF5_INCLUDE_INSTALL_DIR

parent 14b110eb
......@@ -61,7 +61,7 @@ install(EXPORT KF5KAlarmCalTargets DESTINATION "${CMAKECONFIG_INSTALL_DIR}" FILE
install(FILES
${CMAKE_CURRENT_BINARY_DIR}/kalarmcal_version.h
DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel
DESTINATION ${KF5_INCLUDE_INSTALL_DIR} COMPONENT Devel
)
if ("${CMAKE_BINARY_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
......
......@@ -70,7 +70,7 @@ ecm_generate_headers(KAlarmCal_CamelCase_HEADERS
install(FILES
${KAlarmCal_CamelCase_HEADERS}
DESTINATION ${INCLUDE_INSTALL_DIR}/KAlarmCal
DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KAlarmCal
COMPONENT Devel
)
......@@ -85,13 +85,13 @@ install(FILES
repetition.h
version.h
${KAlarmCal_HEADERS}
DESTINATION ${INCLUDE_INSTALL_DIR}/kalarmcal
DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/kalarmcal
COMPONENT Devel
)
install(FILES
collectionattribute.h
compatibilityattribute.h
eventattribute.h
DESTINATION ${INCLUDE_INSTALL_DIR}/kalarmcal
DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/kalarmcal
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