aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2019-09-16 02:48:11 +0200
committerFriedrich W. H. Kossebau <kossebau@kde.org>2019-09-16 02:48:11 +0200
commitc358fd68e27738340582386d7f1c1c2fccac7df2 (patch)
tree142a918bbb48ed1b2c227649139e0d16418e6436
parent14c4973b06eae9adf9f437c54c802f99c5c24b98 (diff)
downloadkconfig-c358fd68e27738340582386d7f1c1c2fccac7df2.tar.gz
kconfig-c358fd68e27738340582386d7f1c1c2fccac7df2.tar.bz2
Use new INCLUDE_DIRS with ecm_add_qch, to have doxygen see more includes
GIT_SILENT
-rw-r--r--src/CMakeLists.txt3
-rw-r--r--src/core/CMakeLists.txt1
-rw-r--r--src/gui/CMakeLists.txt1
3 files changed, 5 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 5e070e44..46674367 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -23,6 +23,9 @@ if (BUILD_QCH)
Qt5Core_QCH
Qt5Xml_QCH
Qt5Gui_QCH
+ INCLUDE_DIRS
+ ${KConfigCore_APIDOX_INCLUDE_DIRS}
+ ${KConfigGui_APIDOX_INCLUDE_DIRS}
BLANK_MACROS
KCONFIGCORE_EXPORT
KCONFIGCORE_DEPRECATED_EXPORT
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 2fa80870..45f21471 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -96,6 +96,7 @@ install(FILES
# make available to ecm_add_qch in parent folder
set(KConfigCore_APIDOX_SRCS ${KConfigCore_HEADERS} PARENT_SCOPE)
+set(KConfigCore_APIDOX_INCLUDE_DIRS ${CMAKE_CURRENT_BINARY_DIR} PARENT_SCOPE)
include(ECMGeneratePriFile)
ecm_generate_pri_file(BASE_NAME KConfigCore LIB_NAME KF5ConfigCore DEPS "core" FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR_KF5}/KConfigCore)
diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt
index d36f90f8..6ae7729c 100644
--- a/src/gui/CMakeLists.txt
+++ b/src/gui/CMakeLists.txt
@@ -64,6 +64,7 @@ install(FILES
# make available to ecm_add_qch in parent folder
set(KConfigGui_APIDOX_SRCS ${KConfigGui_HEADERS} PARENT_SCOPE)
+set(KConfigGui_APIDOX_INCLUDE_DIRS ${CMAKE_CURRENT_BINARY_DIR} PARENT_SCOPE)
include(ECMGeneratePriFile)
ecm_generate_pri_file(BASE_NAME KConfigGui LIB_NAME KF5ConfigGui DEPS "gui xml KConfigCore" FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR_KF5}/KConfigGui)