From c8c5ce2eb675c3f4598aac3f05b846ad8a8bb9f2 Mon Sep 17 00:00:00 2001 From: Stephan Binner Date: Tue, 1 May 2007 21:08:36 +0000 Subject: also inform about miss even if not required svn path=/trunk/KDE/kdelibs/; revision=660180 --- modules/FindSoprano.cmake | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'modules') diff --git a/modules/FindSoprano.cmake b/modules/FindSoprano.cmake index 2aa05865..541ee9db 100644 --- a/modules/FindSoprano.cmake +++ b/modules/FindSoprano.cmake @@ -70,6 +70,13 @@ else(SOPRANO_INCLUDE_DIR AND SOPRANO_LIBRARIES) if(NOT SOPRANO_LIBRARIES) message(FATAL_ERROR "Could not find Soprano library.") endif(NOT SOPRANO_LIBRARIES) + else(Soprano_FIND_REQUIRED) + if(NOT SOPRANO_INCLUDE_DIR) + message(STATUS "Could not find Soprano includes.") + endif(NOT SOPRANO_INCLUDE_DIR) + if(NOT SOPRANO_LIBRARIES) + message(STATUS "Could not find Soprano library.") + endif(NOT SOPRANO_LIBRARIES) endif(Soprano_FIND_REQUIRED) endif(Soprano_FOUND) -- cgit v1.2.1