summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.h.cmake1
-rw-r--r--ksvg/ConfigureChecks.cmake4
2 files changed, 4 insertions, 1 deletions
diff --git a/config.h.cmake b/config.h.cmake
index 40e12535..d8a1feb9 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -12,6 +12,7 @@
#define STDC_HEADERS 1
#cmakedefine LCMS_HEADER <@LCMS_HEADER@>
#cmakedefine HAVE_FREETYPE_2_2_x 1
+#cmakedefine FRIBIDI_NEW_FILENAME 1
// kviewshell (djvu plugin)
#cmakedefine HAVE_WCHAR_T 1
diff --git a/ksvg/ConfigureChecks.cmake b/ksvg/ConfigureChecks.cmake
index 00ff78c3..e6942e69 100644
--- a/ksvg/ConfigureChecks.cmake
+++ b/ksvg/ConfigureChecks.cmake
@@ -44,6 +44,8 @@ endif( )
# fribidi
pkg_search_module( FRIBIDI fribidi )
-if( NOT FRIBIDI_FOUND )
+if( FRIBIDI_FOUND )
+ check_include_file( fribidi/fribidi-types.h FRIBIDI_NEW_FILENAME )
+else( )
tde_message_fatal( "fribidi is required, but was not found on your system" )
endif( )