mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-09 20:13:35 +00:00
cmake: Fix 'examples' target after r225319
Add the missing `DEPENDS` keyword. r225319 did almost the right thing (I didn't notice the problem with it because `Kaleidoscope-Ch8` wasn't building at all). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225321 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
82f16e76be
commit
a511d71d15
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user