mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 02:06:07 +00:00
Check LLVM_BUILD_LLVM_C_DYLIB before building the C DLL with MSVC.
This commit is contained in:
parent
6f46e9af8a
commit
95eb50c447
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user