aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-03-22 11:26:35 +0100
committerThomas White <taw@physics.org>2018-03-22 15:05:03 +0100
commitfba58042c236d8ceec09c7310583797401eda0ab (patch)
tree3b287cd00501d915524b76b13e46787f1fd35cff /CMakeLists.txt
parent2d71de8b4d932bb71906b7437334c0f189e139b5 (diff)
Test for Curses
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 170a7c36..e13d9c5a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,6 +21,7 @@ find_package(PINKINDEXER)
find_package(NBP)
find_package(FDIP)
find_package(OpenCL)
+find_package(Curses)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fdiagnostics-color=always")
@@ -55,6 +56,7 @@ set(HAVE_OPENCL ${OpenCL_FOUND})
set(HAVE_CBFLIB ${CBF_FOUND})
set(HAVE_GDKPIXBUF ${GDKPIXBUF_FOUND})
set(HAVE_GDK ${GDK_FOUND})
+set(HAVE_CURSES ${CURSES_FOUND})
check_include_file(fcntl.h HAVE_FCNTL_H)
check_include_file(stdlib.h HAVE_STDLIB_H)