ENH: Fix dependencies for curses dialog
This commit is contained in:
parent
1de2bba717
commit
81b5c3b34d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue