summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ksvg/ConfigureChecks.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/ksvg/ConfigureChecks.cmake b/ksvg/ConfigureChecks.cmake
index 76177f57..72a9a6b2 100644
--- a/ksvg/ConfigureChecks.cmake
+++ b/ksvg/ConfigureChecks.cmake
@@ -41,7 +41,9 @@ endif( )
# fribidi
pkg_search_module( FRIBIDI fribidi )
if( FRIBIDI_FOUND )
+ tde_save_and_set( CMAKE_REQUIRED_INCLUDES ${FRIBIDI_INCLUDE_DIRS} )
check_include_file( fribidi/fribidi-types.h FRIBIDI_NEW_FILENAME )
+ tde_restore( CMAKE_REQUIRED_INCLUDES )
else( )
tde_message_fatal( "fribidi is required, but was not found on your system" )
endif( )