diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/FindSoprano.cmake | 7 | ||||
| -rw-r--r-- | modules/FindStrigi.cmake | 12 | 
2 files changed, 10 insertions, 9 deletions
| diff --git a/modules/FindSoprano.cmake b/modules/FindSoprano.cmake index c2b4774c..30491fca 100644 --- a/modules/FindSoprano.cmake +++ b/modules/FindSoprano.cmake @@ -52,11 +52,12 @@ else(SOPRANO_INCLUDE_DIR AND SOPRANO_LIBRARIES)        ${KDE4_LIB_DIR}        ${LIB_INSTALL_DIR}        ) -    if(SOPRANO_INCLUDE_DIR AND SOPRANO_LIBRARIES) -      set(Soprano_FOUND TRUE) -    endif(SOPRANO_INCLUDE_DIR AND SOPRANO_LIBRARIES)    endif(MSVC) +  if(SOPRANO_INCLUDE_DIR AND SOPRANO_LIBRARIES) +    set(Soprano_FOUND TRUE) +  endif(SOPRANO_INCLUDE_DIR AND SOPRANO_LIBRARIES) +      if(Soprano_FOUND)      if(NOT Soprano_FIND_QUIETLY)        message(STATUS "Found Soprano: ${SOPRANO_LIBRARIES}") diff --git a/modules/FindStrigi.cmake b/modules/FindStrigi.cmake index 1a323706..a9f854db 100644 --- a/modules/FindStrigi.cmake +++ b/modules/FindStrigi.cmake @@ -25,14 +25,14 @@ if(MSVC)    FIND_LIBRARY(STREAMANALYZER_LIBRARY_RELEASE NAMES streamanalyzer)    if(STREAMANALYZER_LIBRARY_DEBUG AND STREAMANALYZER_LIBRARY_RELEASE) -    set(STREAMANALYZER_LIBRARY optimized ${STREAMANALYZER_LIBRARY_RELEASE} +    set(STRIGI_STREAMANALYZER_LIBRARY optimized ${STREAMANALYZER_LIBRARY_RELEASE}                            debug ${STREAMANALYZER_LIBRARY_DEBUG})    else(STREAMANALYZER_LIBRARY_DEBUG AND STREAMANALYZER_LIBRARY_RELEASE)      if(STREAMANALYZER_LIBRARY_DEBUG) -      set(STREAMANALYZER_LIBRARY ${STREAMANALYZER_LIBRARY_DEBUG}) +      set(STRIGI_STREAMANALYZER_LIBRARY ${STREAMANALYZER_LIBRARY_DEBUG})      else(STREAMANALYZER_LIBRARY_DEBUG)        if(STREAMANALYZER_LIBRARY_RELEASE) -        set(STREAMANALYZER_LIBRARY ${STREAMANALYZER_LIBRARY_RELEASE}) +        set(STRIGI_STREAMANALYZER_LIBRARY ${STREAMANALYZER_LIBRARY_RELEASE})        endif(STREAMANALYZER_LIBRARY_RELEASE)      endif(STREAMANALYZER_LIBRARY_DEBUG)    endif(STREAMANALYZER_LIBRARY_DEBUG AND STREAMANALYZER_LIBRARY_RELEASE) @@ -41,14 +41,14 @@ if(MSVC)    FIND_LIBRARY(STREAMS_LIBRARY_RELEASE NAMES streams)    if(STREAMS_LIBRARY_DEBUG AND STREAMS_LIBRARY_RELEASE) -    set(STREAMS_LIBRARY optimized ${STREAMS_LIBRARY_RELEASE} +    set(STRIGI_STREAMS_LIBRARY optimized ${STREAMS_LIBRARY_RELEASE}                            debug ${STREAMS_LIBRARY_DEBUG})    else(STREAMS_LIBRARY_DEBUG AND STREAMS_LIBRARY_RELEASE)      if(STREAMS_LIBRARY_DEBUG) -      set(STREAMS_LIBRARY ${STREAMS_LIBRARY_DEBUG}) +      set(STRIGI_STREAMS_LIBRARY ${STREAMS_LIBRARY_DEBUG})      else(STREAMS_LIBRARY_DEBUG)        if(STREAMS_LIBRARY_RELEASE) -        set(STREAMS_LIBRARY ${STREAMS_LIBRARY_RELEASE}) +        set(STRIGI_STREAMS_LIBRARY ${STREAMS_LIBRARY_RELEASE})        endif(STREAMS_LIBRARY_RELEASE)      endif(STREAMS_LIBRARY_DEBUG)    endif(STREAMS_LIBRARY_DEBUG AND STREAMS_LIBRARY_RELEASE) | 
