kNCurses/cmake/gsl.cmake

9 lines
303 B
CMake
Raw Permalink Normal View History

# @author Christian Burger <christian@krikkel.de>
2022-04-15 16:59:02 +02:00
find_path(GSL_INCLUDE_DIR "gsl/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()