We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a662be4 commit eafe114Copy full SHA for eafe114
src/CMakeLists.txt
@@ -96,9 +96,9 @@ if (NOT lib_llvm)
96
find_library(lib ${dependency} HINTS ${LLVM_LIBRARY_DIRS})
97
list(APPEND llvm_deps "${lib}")
98
endforeach()
99
- if(NOT MSVC)
100
- find_package(Curses REQUIRED)
101
- list(APPEND llvm_deps "${CURSES_LIBRARIES}")
+ if (LLVM_ENABLE_TERMINFO AND NOT WIN32)
+ find_library(TERMINFO_LIB NAMES terminfo tinfo curses ncurses ncursesw REQUIRED)
+ list(APPEND llvm_deps "${TERMINFO_LIB}")
102
endif()
103
104
0 commit comments