Browse Source

cmake: Use standard preprocessor on MSVC

lat9nq 3 năm trước cách đây
mục cha
commit
ecc1feff64
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/CMakeLists.txt

+ 1 - 0
src/CMakeLists.txt

@@ -48,6 +48,7 @@ if (MSVC)
         /volatile:iso
         /Zc:externConstexpr
         /Zc:inline
+        /Zc:preprocessor # Use standards-conforming preprocessor
         /Zc:throwingNew
         /GT