1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

cmake: Our MSVC build does not support config-time build mode.

llvm-svn: 134008
This commit is contained in:
Andrew Trick 2011-06-28 16:32:01 +00:00
parent 736e37d9b9
commit f8b6a62aa2

View File

@ -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")