Skip to content

Commit b46fdac

Browse files
committed
cmake: Our MSVC build does not support config-time build mode.
llvm-svn: 134008
1 parent c2fa169 commit b46fdac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ if(PYTHONINTERP_FOUND)
8181
set(ENABLE_SHARED ${LLVM_SHARED_LIBS_ENABLED})
8282
set(SHLIBPATH_VAR ${SHLIBPATH_VAR})
8383

84-
if(LLVM_ENABLE_ASSERTIONS)
84+
if(LLVM_ENABLE_ASSERTIONS AND NOT MSVC_IDE)
8585
set(ENABLE_ASSERTIONS "1")
8686
else()
8787
set(ENABLE_ASSERTIONS "0")

0 commit comments

Comments
 (0)