summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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