forked from OSchip/llvm-project
[cmake] Remove install from add_llvm_example_library.
This should fix http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/builds/30086
This commit is contained in:
parent
0bb22b91ea
commit
4c6c4e2fce
|
@ -1058,10 +1058,9 @@ endmacro(add_llvm_example name)
|
|||
macro(add_llvm_example_library name)
|
||||
if( NOT LLVM_BUILD_EXAMPLES )
|
||||
set(EXCLUDE_FROM_ALL ON)
|
||||
endif()
|
||||
add_llvm_library(${name} BUILDTREE_ONLY ${ARGN})
|
||||
if( LLVM_BUILD_EXAMPLES )
|
||||
install(TARGETS ${name} RUNTIME DESTINATION examples)
|
||||
add_llvm_library(${name} BUILDTREE_ONLY ${ARGN})
|
||||
else()
|
||||
add_llvm_library(${name} ${ARGN})
|
||||
endif()
|
||||
|
||||
set_target_properties(${name} PROPERTIES FOLDER "Examples")
|
||||
|
|
Loading…
Reference in New Issue