forked from OSchip/llvm-project
cmake: Our MSVC build does not support config-time build mode.
llvm-svn: 134008
This commit is contained in:
parent
c2fa169d6c
commit
b46fdac460
|
@ -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