if( HAVE_LIBDL )
set(system_libs ${system_libs} ${CMAKE_DL_LIBS})
endif()
+ if(LLVM_ENABLE_CURSES)
+ if(HAVE_NCURSESW)
+ set(system_libs ${system_libs} ncursesw)
+ elseif(HAVE_NCURSES)
+ set(system_libs ${system_libs} ncurses)
+ elseif(HAVE_CURSES)
+ set(system_libs ${system_libs} curses)
+ endif()
+ endif()
if( LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD )
set(system_libs ${system_libs} pthread)
endif()