[PATCH] D109521: Remove obsolete msvc workaround from AddLLVM.cmake

Stella Stamenova via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 9 10:50:02 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG584a5d171eca: Remove obsolete msvc workaround from AddLLVM.cmake (authored by stella.stamenova).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109521/new/

https://reviews.llvm.org/D109521

Files:
  llvm/cmake/modules/AddLLVM.cmake


Index: llvm/cmake/modules/AddLLVM.cmake
===================================================================
--- llvm/cmake/modules/AddLLVM.cmake
+++ llvm/cmake/modules/AddLLVM.cmake
@@ -1638,7 +1638,7 @@
     set(ENABLE_SHARED "0")
   endif()
 
-  if(LLVM_ENABLE_ASSERTIONS AND NOT MSVC_IDE)
+  if(LLVM_ENABLE_ASSERTIONS)
     set(ENABLE_ASSERTIONS "1")
   else()
     set(ENABLE_ASSERTIONS "0")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109521.371656.patch
Type: text/x-patch
Size: 396 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210909/010e5644/attachment.bin>


More information about the llvm-commits mailing list