diff options
-rw-r--r-- | llvm/examples/Bye/CMakeLists.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/examples/Bye/CMakeLists.txt b/llvm/examples/Bye/CMakeLists.txt index 257fa5cba26..ac3b33bf248 100644 --- a/llvm/examples/Bye/CMakeLists.txt +++ b/llvm/examples/Bye/CMakeLists.txt @@ -1,4 +1,8 @@ -add_llvm_pass_plugin(Bye Bye.cpp) +add_llvm_pass_plugin(Bye + Bye.cpp + DEPENDS + intrinsics_gen + ) if (LLVM_LINK_LLVM_DYLIB) target_link_libraries(Bye PUBLIC LLVM) else() @@ -8,8 +12,6 @@ else() LLVMCore LLVMipo LLVMPasses - DEPENDS - intrinsics_gen ) endif() |