mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-16 16:37:42 +00:00
Better fix to the windows conditional.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235121 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9e93b6429d
commit
578a18c4fc
@ -423,7 +423,7 @@ 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("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
|
||||
if(WIN32 OR CYGWIN)
|
||||
install(TARGETS ${name}
|
||||
EXPORT LLVMExports
|
||||
RUNTIME DESTINATION lib${LLVM_LIBDIR_SUFFIX}
|
||||
|
Loading…
Reference in New Issue
Block a user