summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorDuncan Mac-Vicar P <dmacvicar@suse.de>2008-10-17 09:10:18 +0000
committerDuncan Mac-Vicar P <dmacvicar@suse.de>2008-10-17 09:10:18 +0000
commit64a8733d32ea62fff88a81cec5cf0aa13224a32c (patch)
tree2f7736ac4a13838c5881fc7e530d67a57f074203 /cmake
parent783b304f08d93e4d46b54262910b532ac40b96e5 (diff)
downloadlibsolv-64a8733d32ea62fff88a81cec5cf0aa13224a32c.tar.gz
libsolv-64a8733d32ea62fff88a81cec5cf0aa13224a32c.tar.bz2
libsolv-64a8733d32ea62fff88a81cec5cf0aa13224a32c.zip
fix finding the library
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindCheck.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/modules/FindCheck.cmake b/cmake/modules/FindCheck.cmake
index 62290f9..a64535d 100644
--- a/cmake/modules/FindCheck.cmake
+++ b/cmake/modules/FindCheck.cmake
@@ -20,7 +20,7 @@ ENDIF(CHECK_INCLUDE_DIR AND CHECK_LIBRARY)
# Report the results.
IF(NOT CHECK_FOUND)
SET(CHECK_DIR_MESSAGE
- "CHECK was not found. Make sure CHECK_LIBRARY and CHECK_INCLUDE_DIR are set.")
+ "check C unit testing library was not found. Install check and check-devel.")
IF(NOT CHECK_FIND_QUIETLY)
MESSAGE(STATUS "${CHECK_DIR_MESSAGE}")
ELSE(NOT CHECK_FIND_QUIETLY)
@@ -28,4 +28,6 @@ IF(NOT CHECK_FOUND)
MESSAGE(FATAL_ERROR "${CHECK_DIR_MESSAGE}")
ENDIF(CHECK_FIND_REQUIRED)
ENDIF(NOT CHECK_FIND_QUIETLY)
+ELSE(NOT CHECK_FOUND)
+ MESSAGE(STATUS "check C unit testing library: ${CHECK_LIBRARIES}")
ENDIF(NOT CHECK_FOUND)