From 92512386a2abc3cb2b29ed6145b1c7dbab84fe0f Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Wed, 7 Jan 2015 14:47:12 +0000 Subject: [PATCH] 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225355 91177308-0d34-0410-b5e6-96231b3b80d8 --- cmake/modules/AddLLVM.cmake | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake index 3b0090f421b..ee55c52df6e 100644 --- a/cmake/modules/AddLLVM.cmake +++ b/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)