kNCurses/cmake/gsl.cmake

7 lines
248 B
CMake

find_path(GSL_INCLUDE_DIR "gsl")
if(GSL_INCLUDE_DIR STREQUAL "GSL_INCLUDE_DIR-NOTFOUND")
message(SEND_ERROR "Microsoft GSL not found.")
else()
message(STATUS "Microsoft GSL found.")
include_directories(SYSTEM ${GSL_INCLUDE_DIR})
endif()