From 0a94f95c95a3a1553f0988fb9c258e7a1b54be3c Mon Sep 17 00:00:00 2001 From: elsid Date: Mon, 4 Jul 2022 23:00:26 +0200 Subject: [PATCH] Disable C++ extensions Since openmw has to be compiled by clang, gcc, msvc most of the extensions will not work anyway. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2450d0016f..f71c9e98bb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,6 +24,7 @@ project(OpenMW) set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) +set(CMAKE_CXX_EXTENSIONS OFF) include(GNUInstallDirs)