From cd8dc094f8a28afcde2959dfe8e7d205a93e4d6c Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Fri, 10 Sep 2004 11:19:55 -0400 Subject: ENH: Add warning messages if curses library is not found --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f049460..66556a4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -72,6 +72,8 @@ IF (UNIX) INCLUDE (${CMake_SOURCE_DIR}/Modules/FindCurses.cmake OPTIONAL) IF (CURSES_LIBRARY) SUBDIRS(Source/CursesDialog/form) + ELSE (CURSES_LIBRARY) + MESSAGE("Curses libraries were not found. Curses GUI for CMake will not be build.") ENDIF (CURSES_LIBRARY) ENDIF (UNIX) -- cgit v0.12