IF (SECURITY_INCLUDE_DIR AND SECURITY_DIRS)
  SET(SECURITY_FOUND TRUE)
ELSE ()
  FIND_PATH(SECURITY_INCLUDE_DIR NAMES Security/Security.h)
  FIND_LIBRARY(SECURITY_DIRS NAMES Security)
  IF (SECURITY_INCLUDE_DIR AND SECURITY_DIRS)
    SET(SECURITY_FOUND TRUE)
  ENDIF ()
ENDIF ()
