From 274099f7ecb20bf3346abfd694705ea5ac411d2b Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Tue, 13 Nov 2001 14:22:29 -0500 Subject: fixes to curses stuff --- Source/CMakeLists.txt | 2 +- Source/CursesDialog/CMakeLists.txt | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 191646f..92c7119 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -47,7 +47,7 @@ IF (WIN32) ENDIF (WIN32) IF (UNIX) - INCLUDE (${CMAKE_ROOT}/Modules/FindCurses.cmake) + INCLUDE (${CMAKE_ROOT}/Modules/FindCurses.cmake OPTIONAL) IF (CURSES_LIBRARY) SUBDIRS(CursesDialog/form) SUBDIRS(CursesDialog) diff --git a/Source/CursesDialog/CMakeLists.txt b/Source/CursesDialog/CMakeLists.txt index 8e12dca..103550a 100644 --- a/Source/CursesDialog/CMakeLists.txt +++ b/Source/CursesDialog/CMakeLists.txt @@ -24,4 +24,6 @@ ENDIF(CURSES_EXTRA_LIBRARY) LINK_LIBRARIES(cmForm) -ADD_EXECUTABLE(ccmake CURSES_SRCS) \ No newline at end of file +ADD_EXECUTABLE(ccmake CURSES_SRCS) + +INSTALL_TARGETS(/bin ccmake) \ No newline at end of file -- cgit v0.12