mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Better fix to the windows conditional.
llvm-svn: 235121
This commit is contained in:
parent
44637ea047
commit
181b63c6b5
@ -423,7 +423,7 @@ 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("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
|
if(WIN32 OR CYGWIN)
|
||||||
install(TARGETS ${name}
|
install(TARGETS ${name}
|
||||||
EXPORT LLVMExports
|
EXPORT LLVMExports
|
||||||
RUNTIME DESTINATION lib${LLVM_LIBDIR_SUFFIX}
|
RUNTIME DESTINATION lib${LLVM_LIBDIR_SUFFIX}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user