You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sems/cmake/FindGsm.cmake

18 lines
511 B

FIND_PATH(GSM_INCLUDE_DIR gsm.h)
FIND_LIBRARY(GSM_LIBRARIES NAMES gsm)
IF(GSM_INCLUDE_DIR AND GSM_LIBRARIES)
SET(GSM_FOUND TRUE)
ENDIF(GSM_INCLUDE_DIR AND GSM_LIBRARIES)
IF(GSM_FOUND)
IF (NOT Gsm_FIND_QUIETLY)
MESSAGE(STATUS "Found gsm includes: ${GSM_INCLUDE_DIR}/gsm.h")
MESSAGE(STATUS "Found gsm library: ${GSM_LIBRARIES}")
ENDIF (NOT Gsm_FIND_QUIETLY)
ELSE(GSM_FOUND)
IF (Gsm_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "Could NOT find gsm development files")
ENDIF (Gsm_FIND_REQUIRED)
ENDIF(GSM_FOUND)