diff options
-rw-r--r-- | find-modules/FindFontconfig.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/find-modules/FindFontconfig.cmake b/find-modules/FindFontconfig.cmake index 937bc45e..6ac23a0a 100644 --- a/find-modules/FindFontconfig.cmake +++ b/find-modules/FindFontconfig.cmake @@ -105,6 +105,12 @@ if(Fontconfig_FOUND AND NOT TARGET Fontconfig::Fontconfig) ) endif() +# backward compatibility, remove in kf6 +set(FONTCONFIG_INCLUDE_DIR "${Fontconfig_INCLUDE_DIRS}") +set(FONTCONFIG_LIBRARIES "${Fontconfig_LIBRARIES}") +set(FONTCONFIG_DEFINITIONS "${Fontconfig_DEFINITIONS}") +mark_as_advanced(FONTCONFIG_INCLUDE_DIR FONTCONFIG_LIBRARIES FONTCONFIG_DEFINITIONS) + include(FeatureSummary) set_package_properties(Fontconfig PROPERTIES URL "https://www.fontconfig.org/" |