fix find
authorDuncan Mac-Vicar P <dmacvicar@suse.de>
Mon, 20 Oct 2008 12:52:36 +0000 (12:52 +0000)
committerDuncan Mac-Vicar P <dmacvicar@suse.de>
Mon, 20 Oct 2008 12:52:36 +0000 (12:52 +0000)
cmake/modules/FindCheck.cmake

index a64535da9e484e3c39df3df409f3ea1f447cc631..bcc0e5b638abf40956e1ce0e0c1342b430b62882 100644 (file)
@@ -21,13 +21,13 @@ ENDIF(CHECK_INCLUDE_DIR AND CHECK_LIBRARY)
 IF(NOT CHECK_FOUND)
   SET(CHECK_DIR_MESSAGE
     "check C unit testing library was not found. Install check and check-devel.")
-  IF(NOT CHECK_FIND_QUIETLY)
+  IF(NOT Check_FIND_QUIETLY)
     MESSAGE(STATUS "${CHECK_DIR_MESSAGE}")
-  ELSE(NOT CHECK_FIND_QUIETLY)
-    IF(CHECK_FIND_REQUIRED)
+  ELSE(NOT Check_FIND_QUIETLY)
+    IF(Check_FIND_REQUIRED)
       MESSAGE(FATAL_ERROR "${CHECK_DIR_MESSAGE}")
-    ENDIF(CHECK_FIND_REQUIRED)
-  ENDIF(NOT CHECK_FIND_QUIETLY)
+    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)