diff options
Diffstat (limited to 'cmake/modules')
-rw-r--r-- | cmake/modules/FindCheck.cmake | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cmake/modules/FindCheck.cmake b/cmake/modules/FindCheck.cmake index a64535d..bcc0e5b 100644 --- a/cmake/modules/FindCheck.cmake +++ b/cmake/modules/FindCheck.cmake @@ -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) |