forked from OSchip/llvm-project
[CMake] Fix broken NetBSD bots
http://lab.llvm.org:8011/builders/lldb-amd64-ninja-netbsd7/builds/4558/steps/cmake%20local/logs/stdio llvm-svn: 293687
This commit is contained in:
parent
494f277af5
commit
987401bbfe
|
@ -163,6 +163,10 @@ if (${get_python_libdir})
|
|||
endif()
|
||||
endif()
|
||||
|
||||
if (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
|
||||
set(EXTRA_LIBS kvm)
|
||||
endif ()
|
||||
|
||||
add_lldb_library(lldbHost
|
||||
${HOST_SOURCES}
|
||||
|
||||
|
@ -173,11 +177,8 @@ add_lldb_library(lldbHost
|
|||
lldbTarget
|
||||
lldbUtility
|
||||
${LLDB_PLUGINS}
|
||||
${EXTRA_LIBS}
|
||||
|
||||
LINK_COMPONENTS
|
||||
Support
|
||||
)
|
||||
|
||||
if (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
|
||||
target_link_libraries(lldbHost kvm)
|
||||
endif ()
|
||||
|
|
Loading…
Reference in New Issue