Commit 3c986b57 authored by Volker Krause's avatar Volker Krause
Browse files

Don't install the same headers to multiple locations

This seems to break the build on some systems due to one definition rule
violations if the same header gets included from different locations. The
use of pragma once rather than conventional include guards doesn't catch
this.
parent ccbc86fa
Pipeline #146878 failed with stage
in 1 minute and 51 seconds
......@@ -45,6 +45,7 @@ ecm_generate_headers(KF5AkonadiSearchCore_CamelCasecore_HEADERS
Term
Query
ResultIterator
SearchStore
REQUIRED_HEADERS KF5AkonadiSearchCore_core_HEADERS
PREFIX Core
)
......@@ -53,21 +54,16 @@ install(TARGETS KF5AkonadiSearchCore EXPORT KF5AkonadiSearchTargets ${KF5_INSTAL
install(FILES
${KF5AkonadiSearchCore_CamelCasecore_HEADERS}
${KF5AkonadiSearchCore_core_HEADERS}
searchstore.h
DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/AkonadiSearch/Core
COMPONENT Devel
)
install(FILES
${KF5AkonadiSearchCore_core_HEADERS}
searchstore.h
DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/AkonadiSearch/core
COMPONENT Devel
)
install(FILES
${KF5AkonadiSearchCore_core_HEADERS}
searchstore.h
${CMAKE_CURRENT_BINARY_DIR}/search_core_export.h
DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/AkonadiSearch
COMPONENT Devel
......
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