summaryrefslogtreecommitdiff
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
commita511d71d157ccca5400c07f7160da21ced8d2634 (patch)
tree59fe1d117a749cc4bab2e3a29686894dc140b5d2
parent82f16e76be08e140b86af371e201d9806ba10b2d (diff)
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
-rw-r--r--cmake/modules/AddLLVM.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake
index 517b828991b..3b0090f421b 100644
--- a/cmake/modules/AddLLVM.cmake
+++ b/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()