diff options
author | Andrew Trick <atrick@apple.com> | 2011-06-28 16:32:01 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2011-06-28 16:32:01 +0000 |
commit | 8d4386efb777c639915b25a9cdc3d5978290044e (patch) | |
tree | ba7c99353c18996960f3a32716c85436cb36efd2 /test/CMakeLists.txt | |
parent | bdb226ec83adf2e052f80f31ead21006b240c82f (diff) |
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
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r-- | test/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 1fc26a0308..b08c7ae02c 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -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") |