Ver Fonte

cmake: Use standard preprocessor on MSVC

lat9nq há 3 anos atrás
pai
commit
ecc1feff64
1 ficheiros alterados com 1 adições e 0 exclusões
  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