Parcourir la source

cmake: Use standard preprocessor on MSVC

lat9nq il y a 3 ans
Parent
commit
ecc1feff64
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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