diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/FindSoprano.cmake | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/modules/FindSoprano.cmake b/modules/FindSoprano.cmake index 6f294846..7857cbdb 100644 --- a/modules/FindSoprano.cmake +++ b/modules/FindSoprano.cmake @@ -40,25 +40,17 @@ else(SOPRANO_INCLUDE_DIR AND SOPRANO_LIBRARIES AND SOPRANO_INDEX_LIBRARIES) ${LIB_INSTALL_DIR} ) - if(SOPRANO_INCLUDE_DIR AND SOPRANO_LIBRARIES) + if(SOPRANO_INCLUDE_DIR AND SOPRANO_LIBRARIES AND SOPRANO_CLIENT_LIBRARIES AND SOPRANO_INDEX_LIBRARIES) set(Soprano_FOUND TRUE) - if(SOPRANO_INDEX_LIBRARIES) - set(SopranoIndex_FOUND TRUE) - endif(SOPRANO_INDEX_LIBRARIES) - if(SOPRANO_CLIENT_LIBRARIES) - set(SopranoClient_FOUND TRUE) - endif(SOPRANO_CLIENT_LIBRARIES) - endif(SOPRANO_INCLUDE_DIR AND SOPRANO_LIBRARIES) + set(SopranoIndex_FOUND TRUE) + set(SopranoClient_FOUND TRUE) + endif(SOPRANO_INCLUDE_DIR AND SOPRANO_LIBRARIES AND SOPRANO_CLIENT_LIBRARIES AND SOPRANO_INDEX_LIBRARIES) if(Soprano_FOUND) if(NOT Soprano_FIND_QUIETLY) message(STATUS "Found Soprano: ${SOPRANO_LIBRARIES}") - if(SopranoIndex_FOUND) - message(STATUS "Found Soprano Index: ${SOPRANO_INDEX_LIBRARIES}") - endif(SopranoIndex_FOUND) - if(SopranoClient_FOUND) - message(STATUS "Found Soprano Client: ${SOPRANO_INDEX_LIBRARIES}") - endif(SopranoClient_FOUND) + message(STATUS "Found Soprano Index: ${SOPRANO_INDEX_LIBRARIES}") + message(STATUS "Found Soprano Client: ${SOPRANO_INDEX_LIBRARIES}") endif(NOT Soprano_FIND_QUIETLY) else(Soprano_FOUND) if(Soprano_FIND_REQUIRED) |