mirror of
https://github.com/openharmony/third_party_lldb-mi.git
synced 2026-07-01 20:05:01 -04:00
[build] Don't require curses when LLVM shared lib is unavailable
Signed-off-by: Kholiavin Nikolai <kholiavin.nikolai@huawei-partners.com>
This commit is contained in:
@@ -88,10 +88,6 @@ if (NOT lib_llvm)
|
||||
find_library(lib ${dependency} HINTS ${LLVM_LIBRARY_DIRS})
|
||||
list(APPEND llvm_deps "${lib}")
|
||||
endforeach()
|
||||
if(NOT MSVC)
|
||||
find_package(Curses REQUIRED)
|
||||
list(APPEND llvm_deps "${CURSES_LIBRARIES}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
list(APPEND llvm_deps "${LLVM_PTHREAD_LIB}")
|
||||
|
||||
Reference in New Issue
Block a user