Enable the use of C++20

This commit is contained in:
Billy Laws 2020-07-23 20:25:02 +01:00 committed by ◱ PixelyIon
parent 8dc9a10324
commit be70f8715d

View File

@ -140,4 +140,5 @@ add_library(skyline SHARED
) )
target_link_libraries(skyline vulkan android fmt tinyxml2 oboe lz4_static) 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) target_compile_options(skyline PRIVATE -Wno-c++17-extensions -Wall -Wno-reorder -Wno-missing-braces -Wno-unused-variable -Wno-unused-private-field)