aboutsummaryrefslogtreecommitdiff
path: root/src/gui
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/gui
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/gui')
-rw-r--r--src/gui/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt
index 4d5512d1..2136ec9f 100644
--- a/src/gui/CMakeLists.txt
+++ b/src/gui/CMakeLists.txt
@@ -21,7 +21,8 @@ ecm_generate_export_header(KF5ConfigGui
EXCLUDE_DEPRECATED_BEFORE_AND_AT ${EXCLUDE_DEPRECATED_BEFORE_AND_AT}
)
-target_include_directories(KF5ConfigGui INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF}/KConfigGui>")
+target_include_directories(KF5ConfigGui
+ INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF}/KConfig;${KDE_INSTALL_INCLUDEDIR_KF}/KConfigGui>")
target_link_libraries(KF5ConfigGui PUBLIC Qt${QT_MAJOR_VERSION}::Gui Qt${QT_MAJOR_VERSION}::Xml KF5::ConfigCore)