瀏覽代碼

cmake: Use standard preprocessor on MSVC

lat9nq 3 年之前
父節點
當前提交
ecc1feff64
共有 1 個文件被更改,包括 1 次插入0 次删除
  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