Sfoglia il codice sorgente

ENH: Add warning messages if curses library is not found

Andy Cedilnik 21 anni fa
parent
commit
cd8dc094f8
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      CMakeLists.txt

+ 2 - 0
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)