diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2013-01-05 16:38:05 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-01-05 16:39:22 +0100 |
commit | 6addff2bf19c62404f36160ae3f80730887c4bbb (patch) | |
tree | 329d1ea67ceb57c50ff45fd0358900ec468ff62a /ksvg/ConfigureChecks.cmake | |
parent | 10db7e7cfc2be1be783ed6aa44514aea547b6768 (diff) | |
download | tdegraphics-6addff2bf19c62404f36160ae3f80730887c4bbb.tar.gz tdegraphics-6addff2bf19c62404f36160ae3f80730887c4bbb.zip |
Fix cmake build: ksvg FTBFS due to new fribidi headers
This resolves Bug 1311
(cherry picked from commit f0e6b090da1687ded291a141c138d470f0890218)
Diffstat (limited to 'ksvg/ConfigureChecks.cmake')
-rw-r--r-- | ksvg/ConfigureChecks.cmake | 2 |
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( ) |