From d781eae7db0baf8ea8f0d20aac051ef503a688f2 Mon Sep 17 00:00:00 2001 From: Aleksa Bjelogrlic Date: Mon, 27 Oct 2025 17:10:01 -0400 Subject: [PATCH] Changed /std:c++17 to /std:c17 This allows it to compile on windows 11 w/ VS2022 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8859da0..c6054f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ set(CMAKE_C_STANDARD_REQUIRED ON) # error if compiler doesn't support c17 set(CMAKE_C_EXTENSIONS ON) if(MSVC) -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /std:c++17 /experimental:c11atomics") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /std:c17 /experimental:c11atomics") endif(MSVC) enable_language(CXX)