mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Fix Windows bots.
Turns out Windows is special. All library installs are RUNTIME. llvm-svn: 235120
This commit is contained in:
parent
b7179f7f1b
commit
44637ea047
@ -423,7 +423,12 @@ macro(add_llvm_library name)
|
|||||||
set_target_properties( ${name} PROPERTIES EXCLUDE_FROM_ALL ON)
|
set_target_properties( ${name} PROPERTIES EXCLUDE_FROM_ALL ON)
|
||||||
else()
|
else()
|
||||||
if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY OR ${name} STREQUAL "LTO")
|
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}
|
install(TARGETS ${name}
|
||||||
EXPORT LLVMExports
|
EXPORT LLVMExports
|
||||||
LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX}
|
LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user