ENH: Add warning messages if curses library is not found
This commit is contained in:
parent
0e67feb17a
commit
cd8dc094f8
|
@ -72,6 +72,8 @@ IF (UNIX)
|
||||||
INCLUDE (${CMake_SOURCE_DIR}/Modules/FindCurses.cmake OPTIONAL)
|
INCLUDE (${CMake_SOURCE_DIR}/Modules/FindCurses.cmake OPTIONAL)
|
||||||
IF (CURSES_LIBRARY)
|
IF (CURSES_LIBRARY)
|
||||||
SUBDIRS(Source/CursesDialog/form)
|
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 (CURSES_LIBRARY)
|
||||||
ENDIF (UNIX)
|
ENDIF (UNIX)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue