fixes to curses stuff

This commit is contained in:
Ken Martin 2001-11-13 14:22:29 -05:00
parent 83d7df09c4
commit 274099f7ec
2 changed files with 4 additions and 2 deletions

View File

@ -47,7 +47,7 @@ IF (WIN32)
ENDIF (WIN32) ENDIF (WIN32)
IF (UNIX) IF (UNIX)
INCLUDE (${CMAKE_ROOT}/Modules/FindCurses.cmake) INCLUDE (${CMAKE_ROOT}/Modules/FindCurses.cmake OPTIONAL)
IF (CURSES_LIBRARY) IF (CURSES_LIBRARY)
SUBDIRS(CursesDialog/form) SUBDIRS(CursesDialog/form)
SUBDIRS(CursesDialog) SUBDIRS(CursesDialog)

View File

@ -24,4 +24,6 @@ ENDIF(CURSES_EXTRA_LIBRARY)
LINK_LIBRARIES(cmForm) LINK_LIBRARIES(cmForm)
ADD_EXECUTABLE(ccmake CURSES_SRCS) ADD_EXECUTABLE(ccmake CURSES_SRCS)
INSTALL_TARGETS(/bin ccmake)