Przeglądaj źródła

cmake: Use standard preprocessor on MSVC

lat9nq 3 lat temu
rodzic
commit
ecc1feff64
1 zmienionych plików z 1 dodań i 0 usunięć
  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