summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-01-06 23:52:35 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-01-06 23:52:35 +0000
commit7da04d58050fbb7606d99e37ad6d3c3519a90733 (patch)
tree859f26a2700b65d01dcfc0d9b2bbc24d15a74441 /llvm
parent4e752fba922b8b3a3ac8e3a9ce4cca3d3ea3ef76 (diff)
downloadbcm5719-llvm-7da04d58050fbb7606d99e37ad6d3c3519a90733.tar.gz
bcm5719-llvm-7da04d58050fbb7606d99e37ad6d3c3519a90733.zip
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). llvm-svn: 225321
Diffstat (limited to 'llvm')
-rw-r--r--llvm/cmake/modules/AddLLVM.cmake2
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()
OpenPOWER on IntegriCloud