From ce908ad54e4c633fdb557edb073b03d2630b358e Mon Sep 17 00:00:00 2001 From: Sebastian Trueg Date: Wed, 10 Oct 2007 06:42:52 +0000 Subject: Make sure to not use an old version of Soprano. Sorry for the previous breaking. svn path=/trunk/KDE/kdelibs/; revision=723600 --- modules/FindSoprano.cmake | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'modules') 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) -- cgit v1.2.1