From 91425ccb6ff0a416b67ef21eb3ecebb49ba3e748 Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Tue, 6 May 2025 19:45:03 +0800 Subject: Update C++ standard to C++20 (#6980) * Correct incorrect enum usage on metal * Update C++ standard to C++20 Closes https://github.com/shader-slang/slang/issues/6945 * use bit_cast --- cmake/CompilerFlags.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake/CompilerFlags.cmake') diff --git a/cmake/CompilerFlags.cmake b/cmake/CompilerFlags.cmake index 24a2c574f..2019b554b 100644 --- a/cmake/CompilerFlags.cmake +++ b/cmake/CompilerFlags.cmake @@ -175,7 +175,7 @@ function(set_default_compile_options target) ON # C++ standard CXX_STANDARD - 17 + 20 # pic POSITION_INDEPENDENT_CODE ON -- cgit v1.2.3