From be70f8715d9b536e712f46b5516a6f3854e5ef9b Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Thu, 23 Jul 2020 20:25:02 +0100 Subject: [PATCH] Enable the use of C++20 --- app/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index de9f64b2..ac052067 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -140,4 +140,5 @@ add_library(skyline SHARED ) target_link_libraries(skyline vulkan android fmt tinyxml2 oboe lz4_static) +set(CMAKE_CXX17_EXTENSION_COMPILE_OPTION "-std=c++2a") target_compile_options(skyline PRIVATE -Wno-c++17-extensions -Wall -Wno-reorder -Wno-missing-braces -Wno-unused-variable -Wno-unused-private-field)