diff --git a/CMakeLists.txt b/CMakeLists.txt index f9238d39..8e182302 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,6 +33,10 @@ if (APPLE) endif () endif () +if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows") + add_compile_definitions(_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING) # Fix Warning from VS 2022 + +endif() + # Externals dependencies # if (NOT LAUNCHER_ONLY) diff --git a/README.md b/README.md index 6cf5ddd8..35745232 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Before building, make sure your setup is correct : - Install NuGet through Homebrew : ```bash brew update - brew install nuget + brew install nuget ``` - Install PowerShell Core through Homebrew: