aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Binner <binner@kde.org>2007-05-01 21:08:36 +0000
committerStephan Binner <binner@kde.org>2007-05-01 21:08:36 +0000
commitc8c5ce2eb675c3f4598aac3f05b846ad8a8bb9f2 (patch)
tree4534b10363f0d3295c40c62d360050c2ab1918ff
parenta7f051430a3d525a60ecb1c7584c049824b774dd (diff)
downloadextra-cmake-modules-c8c5ce2eb675c3f4598aac3f05b846ad8a8bb9f2.tar.gz
extra-cmake-modules-c8c5ce2eb675c3f4598aac3f05b846ad8a8bb9f2.tar.bz2
also inform about miss even if not required
svn path=/trunk/KDE/kdelibs/; revision=660180
-rw-r--r--modules/FindSoprano.cmake7
1 files changed, 7 insertions, 0 deletions
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)