Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix 'check' test for cmake > 2.4

  • Loading branch information...
commit 0ab18edbdaccfa9d478ed281983d4a4cadb04686 1 parent 653c558
@kkaempf kkaempf authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 cmake/modules/FindCheck.cmake
View
4 cmake/modules/FindCheck.cmake
@@ -9,13 +9,13 @@ FIND_PATH(CHECK_INCLUDE_DIR NAMES check.h)
# Look for the library.
FIND_LIBRARY(CHECK_LIBRARY NAMES check)
-IF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERISION} GREATER 2.4)
+IF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.4)
# handle the QUIETLY and REQUIRED arguments and set CHECK_FOUND to TRUE if
# all listed variables are TRUE
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Check "Please install 'check' and 'check-devel' packages" CHECK_LIBRARY CHECK_INCLUDE_DIR)
-ENDIF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERISION} GREATER 2.4)
+ENDIF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.4)
IF(CHECK_FOUND)
SET( CHECK_LIBRARIES ${CHECK_LIBRARY} )
Please sign in to comment.
Something went wrong with that request. Please try again.