ENH: Fix dependencies for curses dialog

This commit is contained in:
Andy Cedilnik 2003-08-07 16:25:49 -04:00
parent 1de2bba717
commit 81b5c3b34d
2 changed files with 7 additions and 1 deletions

View File

@ -60,6 +60,13 @@ SUBDIRS(Source/kwsys)
SET(CMAKE_BUILD_WITH_CURL 1)
SUBDIRS(Source/CTest/Curl)
IF (UNIX)
INCLUDE (${CMake_SOURCE_DIR}/Modules/FindCurses.cmake OPTIONAL)
IF (CURSES_LIBRARY)
SUBDIRS(Source/CursesDialog/form)
ENDIF (CURSES_LIBRARY)
ENDIF (UNIX)
SUBDIRS(Source Modules Templates Utilities)
ENABLE_TESTING()

View File

@ -134,7 +134,6 @@ ENDIF(CMAKE_BUILD_WITH_CURL)
IF (UNIX)
INCLUDE (${CMake_SOURCE_DIR}/Modules/FindCurses.cmake OPTIONAL)
IF (CURSES_LIBRARY)
SUBDIRS(CursesDialog/form)
INCLUDE(${CMake_SOURCE_DIR}/Source/CursesDialog/CMakeLists.txt)
ENDIF (CURSES_LIBRARY)
ENDIF (UNIX)