aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorAhmad Samir <a.samirh78@gmail.com>2022-01-15 23:56:12 +0200
committerAhmad Samir <a.samirh78@gmail.com>2022-01-15 23:56:12 +0200
commit3bbe9de5d59a6572f3549cc3a553dd44db421b68 (patch)
tree5434f7df3af5faa7f6a730b3030e269d90050837 /src/core
parent43c0ad17c8a7f898ecfce5a7bcb14d7073541e26 (diff)
downloadkconfig-3bbe9de5d59a6572f3549cc3a553dd44db421b68.tar.gz
kconfig-3bbe9de5d59a6572f3549cc3a553dd44db421b68.tar.bz2
Add KF*/KConfig to the interface include directories
So that #include <kconfig_version.h> still works after changing its location in the previous commit. NO_CHANGELOG
Diffstat (limited to 'src/core')
-rw-r--r--src/core/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 4754725b..61113253 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -41,7 +41,9 @@ target_compile_definitions(KF5ConfigCore
KCONF_UPDATE_INSTALL_LOCATION="${KDE_INSTALL_FULL_LIBEXECDIR_KF}/$<TARGET_FILE_NAME:KF5::kconf_update>"
)
-target_include_directories(KF5ConfigCore INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF}/KConfigCore>")
+target_include_directories(KF5ConfigCore
+ INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF}/KConfig;${KDE_INSTALL_INCLUDEDIR_KF}/KConfigCore>"
+)
target_link_libraries(KF5ConfigCore PUBLIC Qt${QT_MAJOR_VERSION}::Core)