diff options
| -rw-r--r-- | llvm/cmake/modules/AddLLVM.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake index 517b828991b..3b0090f421b 100644 --- a/llvm/cmake/modules/AddLLVM.cmake +++ b/llvm/cmake/modules/AddLLVM.cmake @@ -515,7 +515,7 @@ macro(add_llvm_example name) set_target_properties(${name} PROPERTIES FOLDER "Examples") if(NOT TARGET examples) - add_custom_target(examples ${name}) + add_custom_target(examples DEPENDS ${name}) else() add_dependencies(examples ${name}) endif() |

