From f0e6b090da1687ded291a141c138d470f0890218 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sat, 5 Jan 2013 16:38:05 +0100 Subject: Fix cmake build: ksvg FTBFS due to new fribidi headers This resolves Bug 1311 --- ksvg/ConfigureChecks.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ksvg') 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( ) -- cgit v1.2.1