summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/modules
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2015-01-07 14:47:12 +0000
committerAaron Ballman <aaron@aaronballman.com>2015-01-07 14:47:12 +0000
commitd2e434218de700a661257ed34f8207da7b110f83 (patch)
treec6227644defce7e4844f9dd6b5562263944b05f6 /llvm/cmake/modules
parent1ec24c6a3d638288c7df79b7a293b75926e75c8b (diff)
downloadbcm5719-llvm-d2e434218de700a661257ed34f8207da7b110f83.tar.gz
bcm5719-llvm-d2e434218de700a661257ed34f8207da7b110f83.zip
Reverting r225319; since there is a folder named Examples, attempting to add a target of the same name causes problems for IDEs like Visual Studio.
llvm-svn: 225355
Diffstat (limited to 'llvm/cmake/modules')
-rw-r--r--llvm/cmake/modules/AddLLVM.cmake6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
index 3b0090f421b..ee55c52df6e 100644
--- a/llvm/cmake/modules/AddLLVM.cmake
+++ b/llvm/cmake/modules/AddLLVM.cmake
@@ -513,12 +513,6 @@ macro(add_llvm_example name)
install(TARGETS ${name} RUNTIME DESTINATION examples)
endif()
set_target_properties(${name} PROPERTIES FOLDER "Examples")
-
- if(NOT TARGET examples)
- add_custom_target(examples DEPENDS ${name})
- else()
- add_dependencies(examples ${name})
- endif()
endmacro(add_llvm_example name)
OpenPOWER on IntegriCloud