mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-04 17:47:58 +00:00
Fix Windows bots.
Turns out Windows is special. All library installs are RUNTIME. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235120 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6c14999401
commit
9e93b6429d
@ -423,7 +423,12 @@ macro(add_llvm_library name)
|
||||
set_target_properties( ${name} PROPERTIES EXCLUDE_FROM_ALL ON)
|
||||
else()
|
||||
if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY OR ${name} STREQUAL "LTO")
|
||||
if(ARG_SHARED OR BUILD_SHARED_LIBS)
|
||||
if("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
|
||||
install(TARGETS ${name}
|
||||
EXPORT LLVMExports
|
||||
RUNTIME DESTINATION lib${LLVM_LIBDIR_SUFFIX}
|
||||
COMPONENT ${name})
|
||||
elseif(ARG_SHARED OR BUILD_SHARED_LIBS)
|
||||
install(TARGETS ${name}
|
||||
EXPORT LLVMExports
|
||||
LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX}
|
||||
|
Loading…
x
Reference in New Issue
Block a user