forked from OSchip/llvm-project
[Orc][examples] LLJITWithRemoteDebugger: fix CMake when utils are not built
This commit is contained in:
parent
0f24ffcdfa
commit
f45eee2706
|
@ -10,10 +10,12 @@ set(LLVM_LINK_COMPONENTS
|
|||
nativecodegen
|
||||
)
|
||||
|
||||
add_llvm_example(LLJITWithRemoteDebugging
|
||||
LLJITWithRemoteDebugging.cpp
|
||||
RemoteJITUtils.cpp
|
||||
if ( LLVM_INCLUDE_UTILS )
|
||||
add_llvm_example(LLJITWithRemoteDebugging
|
||||
LLJITWithRemoteDebugging.cpp
|
||||
RemoteJITUtils.cpp
|
||||
|
||||
DEPENDS
|
||||
llvm-jitlink-executor
|
||||
DEPENDS
|
||||
llvm-jitlink-executor
|
||||
)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue