mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-25 14:32:53 +00:00
cmake: Our MSVC build does not support config-time build mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134008 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bdb226ec83
commit
8d4386efb7
@ -81,7 +81,7 @@ if(PYTHONINTERP_FOUND)
|
||||
set(ENABLE_SHARED ${LLVM_SHARED_LIBS_ENABLED})
|
||||
set(SHLIBPATH_VAR ${SHLIBPATH_VAR})
|
||||
|
||||
if(LLVM_ENABLE_ASSERTIONS)
|
||||
if(LLVM_ENABLE_ASSERTIONS AND NOT MSVC_IDE)
|
||||
set(ENABLE_ASSERTIONS "1")
|
||||
else()
|
||||
set(ENABLE_ASSERTIONS "0")
|
||||
|
Loading…
Reference in New Issue
Block a user