1 IF (KEPHAL_INCLUDE_DIR AND KEPHAL_LIBRARY)
2 SET(Kephal_FIND_QUIETLY TRUE)
3 ENDIF (KEPHAL_INCLUDE_DIR AND KEPHAL_LIBRARY)
5 FIND_PATH(KEPHAL_INCLUDE_DIR NAMES kephal/screens.h PATHS
7 ${INCLUDE_INSTALL_DIR})
9 FIND_LIBRARY(KEPHAL_LIBRARY NAMES kephal PATHS
13 IF (KEPHAL_INCLUDE_DIR AND KEPHAL_LIBRARY)
14 SET(KEPHAL_FOUND TRUE)
15 ENDIF (KEPHAL_INCLUDE_DIR AND KEPHAL_LIBRARY)
19 IF (NOT Kephal_FIND_QUIETLY)
20 MESSAGE(STATUS "Found Kephal: ${KEPHAL_LIBRARY}")
21 ENDIF (NOT Kephal_FIND_QUIETLY)
23 IF (Kephal_FIND_REQUIRED)
24 MESSAGE(FATAL_ERROR "Could not find Kephal")
25 ENDIF (Kephal_FIND_REQUIRED)