From 9bf31316e18439f6ec6f995b0cd0cddcab799fb3 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 31 Jan 2002 10:32:49 -0500 Subject: [PATCH] try to get this working for dec cxx default compiler options --- Source/CMakeLists.txt | 3 +-- Source/CursesDialog/CMakeLists.txt | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 64d28f149..d81f1ab7e 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 fc67e4332..8455ce0a9 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)