diff options
| author | David Faure <faure@kde.org> | 2008-10-02 19:00:15 +0000 | 
|---|---|---|
| committer | David Faure <faure@kde.org> | 2008-10-02 19:00:15 +0000 | 
| commit | 12c3a8f5de2433b4d812bf4ad3a5763af207eb0f (patch) | |
| tree | 822bfeeca9cb711ba3d55bb1ff340551bc2ad4af | |
| parent | 29ebc324a8e96e6248c65527f1b0a798d676c27b (diff) | |
| download | extra-cmake-modules-12c3a8f5de2433b4d812bf4ad3a5763af207eb0f.tar.gz extra-cmake-modules-12c3a8f5de2433b4d812bf4ad3a5763af207eb0f.tar.bz2  | |
Cache the bool too, since the libs+includes are cached, and when cmake auto-reconfigures without
PKG_CONFING_PATH set, it won't be able to re-check the value of the bool.
svn path=/trunk/KDE/kdelibs/; revision=867083
| -rw-r--r-- | modules/FindStrigi.cmake | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/FindStrigi.cmake b/modules/FindStrigi.cmake index 4794f42a..df1cf8bd 100644 --- a/modules/FindStrigi.cmake +++ b/modules/FindStrigi.cmake @@ -32,12 +32,13 @@ if (NOT WIN32)        message(STATUS "pkg-config query failed. did you set $PKG_CONFIG_PATH to the directory where strigi libstreamanalyzer.pc is installed?")        message(FATAL_ERROR "Didn't find strigi >= ${STRIGI_MIN_VERSION}")      else(NOT _return_VALUE STREQUAL "0") -      set(HAVE_STRIGI_VERSION TRUE)        set (STRIGI_NEEDS_SIGNED_CHAR FALSE)        exec_program(${PKGCONFIG_EXECUTABLE} ARGS --modversion libstreamanalyzer RETURN_VALUE _version_return_VALUE OUTPUT_VARIABLE _strigiVersion )        MACRO_ENSURE_VERSION("0.6.0" ${_strigiVersion} STRIGI_NEEDS_SIGNED_CHAR)        # message(STATUS "Strigi version is ${_strigiVersion}. Needs signed char: ${STRIGI_NEEDS_SIGNED_CHAR}") +      set( STRIGI_NEEDS_SIGNED_CHAR ${STRIGI_NEEDS_SIGNED_CHAR} CACHE BOOL "TRUE if strigi is 0.6.0 or later" ) +        if(NOT Strigi_FIND_QUIETLY)          message(STATUS "Found Strigi ${_strigiVersion}")        endif(NOT Strigi_FIND_QUIETLY)  | 
