Commit 81b5c3b3 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

ENH: Fix dependencies for curses dialog

parent 1de2bba7
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment