diff options
Diffstat (limited to 'modules/FindSoprano.cmake')
| -rw-r--r-- | modules/FindSoprano.cmake | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/modules/FindSoprano.cmake b/modules/FindSoprano.cmake index 6c5d687f..caf52b2b 100644 --- a/modules/FindSoprano.cmake +++ b/modules/FindSoprano.cmake @@ -52,9 +52,11 @@ else(SOPRANO_INCLUDE_DIR AND SOPRANO_LIBRARIES AND SOPRANO_INDEX_LIBRARIES AND S      ${LIB_INSTALL_DIR}      ) -  if(SOPRANO_INCLUDE_DIR AND SOPRANO_LIBRARIES) +  # check for all the libs as required to make sure that we do not try to compile with an old version +  # FIXME: introduce a Soprano version check +  if(SOPRANO_INCLUDE_DIR AND SOPRANO_LIBRARIES AND SOPRANO_CLIENT_LIBRARIES AND SOPRANO_INDEX_LIBRARIES)      set(Soprano_FOUND TRUE) -  endif(SOPRANO_INCLUDE_DIR AND SOPRANO_LIBRARIES) +  endif(SOPRANO_INCLUDE_DIR AND SOPRANO_LIBRARIES AND SOPRANO_CLIENT_LIBRARIES AND SOPRANO_INDEX_LIBRARIES)    if(Soprano_FOUND AND SOPRANO_INDEX_LIBRARIES)      set(SopranoIndex_FOUND TRUE) | 
