summaryrefslogtreecommitdiffstats
path: root/ksvg
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-01-05 16:38:05 +0100
committerSlávek Banko <slavek.banko@axis.cz>2013-01-05 16:38:05 +0100
commitf0e6b090da1687ded291a141c138d470f0890218 (patch)
treebf28d51710757f7ccfdb693992f66db46a740afc /ksvg
parent923dc5953a93b0db1ba723a4cff040150dabfaaf (diff)
downloadtdegraphics-f0e6b090da1687ded291a141c138d470f0890218.tar.gz
tdegraphics-f0e6b090da1687ded291a141c138d470f0890218.zip
Fix cmake build: ksvg FTBFS due to new fribidi headers
This resolves Bug 1311
Diffstat (limited to 'ksvg')
-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( )