summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-11-13 19:22:29 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-11-13 19:22:29 (GMT)
commit274099f7ecb20bf3346abfd694705ea5ac411d2b (patch)
tree57a567d4a442b677f4235d9f3294e23bed89046c
parent83d7df09c423141afe4711cfe05dbc3067739e1d (diff)
downloadCMake-274099f7ecb20bf3346abfd694705ea5ac411d2b.zip
CMake-274099f7ecb20bf3346abfd694705ea5ac411d2b.tar.gz
CMake-274099f7ecb20bf3346abfd694705ea5ac411d2b.tar.bz2
fixes to curses stuff
-rw-r--r--Source/CMakeLists.txt2
-rw-r--r--Source/CursesDialog/CMakeLists.txt4
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