summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/CMakeLists.txt3
-rw-r--r--Source/CursesDialog/CMakeLists.txt24
2 files changed, 13 insertions, 14 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 64d28f1..d81f1ab 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -51,8 +51,7 @@ IF (UNIX)
INCLUDE (${CMAKE_ROOT}/Modules/FindCurses.cmake OPTIONAL)
IF (CURSES_LIBRARY)
SUBDIRS(CursesDialog/form)
- SUBDIRS(CursesDialog)
- SUBDIR_DEPENDS(CursesDialog CursesDialog/form)
+ INCLUDE(${CMAKE_ROOT}/Source/CursesDialog/CMakeLists.txt)
ENDIF (CURSES_LIBRARY)
ENDIF (UNIX)
diff --git a/Source/CursesDialog/CMakeLists.txt b/Source/CursesDialog/CMakeLists.txt
index fc67e43..8455ce0 100644
--- a/Source/CursesDialog/CMakeLists.txt
+++ b/Source/CursesDialog/CMakeLists.txt
@@ -1,17 +1,17 @@
SOURCE_FILES( CURSES_SRCS
- cmCursesBoolWidget
- cmCursesCacheEntryComposite
- cmCursesDummyWidget
- cmCursesFilePathWidget
- cmCursesForm
- cmCursesLabelWidget
- cmCursesLongMessageForm
- cmCursesMainForm
- cmCursesPathWidget
- cmCursesStringWidget
- cmCursesWidget
- ccmake
+ CursesDialog/cmCursesBoolWidget
+ CursesDialog/cmCursesCacheEntryComposite
+ CursesDialog/cmCursesDummyWidget
+ CursesDialog/cmCursesFilePathWidget
+ CursesDialog/cmCursesForm
+ CursesDialog/cmCursesLabelWidget
+ CursesDialog/cmCursesLongMessageForm
+ CursesDialog/cmCursesMainForm
+ CursesDialog/cmCursesPathWidget
+ CursesDialog/cmCursesStringWidget
+ CursesDialog/cmCursesWidget
+ CursesDialog/ccmake
)
INCLUDE_DIRECTORIES(${CMake_SOURCE_DIR}/Source/CursesDialog/form)