diff options
author | Thomas White <taw@physics.org> | 2018-03-22 11:26:35 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2018-03-22 15:05:03 +0100 |
commit | fba58042c236d8ceec09c7310583797401eda0ab (patch) | |
tree | 3b287cd00501d915524b76b13e46787f1fd35cff /libcrystfel/CMakeLists.txt | |
parent | 2d71de8b4d932bb71906b7437334c0f189e139b5 (diff) |
Test for Curses
Diffstat (limited to 'libcrystfel/CMakeLists.txt')
-rw-r--r-- | libcrystfel/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libcrystfel/CMakeLists.txt b/libcrystfel/CMakeLists.txt index 9a05c1a0..5d0ee069 100644 --- a/libcrystfel/CMakeLists.txt +++ b/libcrystfel/CMakeLists.txt @@ -111,6 +111,11 @@ if (CBF_FOUND) target_link_libraries(${PROJECT_NAME} PRIVATE ${CBF_LIBRARIES}) endif (CBF_FOUND) +if (CURSES_FOUND) + target_include_directories(${PROJECT_NAME} PRIVATE ${CURSES_INCLUDE_DIRS}) + target_link_libraries(${PROJECT_NAME} PRIVATE ${CURSES_LIBRARIES}) +endif (CURSES_FOUND) + target_compile_options(${PROJECT_NAME} PRIVATE -Wall) install (TARGETS libcrystfel |