1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

Check LLVM_BUILD_LLVM_C_DYLIB before building the C DLL with MSVC.

This commit is contained in:
Aaron Ballman 2020-04-07 13:13:08 -04:00
parent a77039fafd
commit 70eff8376e

View File

@ -106,7 +106,7 @@ if(LLVM_BUILD_LLVM_C_DYLIB AND NOT MSVC)
" -compatibility_version 1 -current_version ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH} -Wl,-reexport_library ${LIB_PATH}")
endif()
if(MSVC)
if(LLVM_BUILD_LLVM_C_DYLIB AND MSVC)
# Build the LLVM-C.dll library that exports the C API.
set(LLVM_LINK_COMPONENTS