Reverting r225319; since there is a folder named Examples, attempting to add a target...
authorAaron Ballman <aaron@aaronballman.com>
Wed, 7 Jan 2015 14:47:12 +0000 (14:47 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Wed, 7 Jan 2015 14:47:12 +0000 (14:47 +0000)
llvm-svn: 225355

llvm/cmake/modules/AddLLVM.cmake

index 3b0090f..ee55c52 100644 (file)
@@ -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)