From 13cfdef6eebc11633db329a91bf7c6795a9866f7 Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Wed, 17 Mar 2021 14:20:39 +0100 Subject: [PATCH] Make sure that CXX extensions are disabled in the CMakeLists.txt file. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e94640c..caaf4ef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,7 @@ configure_file("resources/${PROJECT_NAME}.rc" "processed/${PROJECT_NAME}.rc" @ON set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) +set(CXX_EXTENSIONS OFF) set(CMAKE_CXX_FLAGS "-Wall") if (NOT MSVC) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")