mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06:00
ENH: Fix dependencies for curses dialog
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user