workaround missing include in kf5-syntax-highlighting-devel (#71)

In the kf5-syntax-highlighting-devel 5.91.0 the cmake files dropped advertising of the /usr/include/KF5 include directory.
As Iaito is referencing those with <KSyntaxHighlighting/repository.h> relative to /usr/include/KF5 we need to add this include directory in order to be able to compile successfully.
This commit is contained in:
Michal Ambroz authored and GitHub committed 2022-03-03 21:34:41 +01:00
1 parent afaa7df55d
commit 24a2eba21c
1 file changed
+2
+2
View File
@@ -268,6 +268,8 @@ endif()
if(TARGET KF5::SyntaxHighlighting)
target_link_libraries(iaito PRIVATE KF5::SyntaxHighlighting)
target_compile_definitions(iaito PRIVATE IAITO_ENABLE_KSYNTAXHIGHLIGHTING)
# in the kf5-syntax-highlighting-devel 5.91.0 the cmake files dropped advertising of the /usr/include/KF5 include directory
include_directories(AFTER /usr/include/KF5)
endif()
if (IAITO_APPIMAGE_BUILD)