From 7c5c4f4fadeab0d67f948431f84394800fc4a6d5 Mon Sep 17 00:00:00 2001 From: Alan Baker Date: Thu, 1 Sep 2022 13:16:11 -0400 Subject: [PATCH] Require C++17 for clspv and swiftshader --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c064649c..9413828e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,7 +53,7 @@ option(AMBER_ENABLE_RTTI "Build with runtime type information" OFF) if (${AMBER_USE_CLSPV} OR ${AMBER_ENABLE_SWIFTSHADER}) - set(CMAKE_CXX_STANDARD 14) + set(CMAKE_CXX_STANDARD 17) else() set(CMAKE_CXX_STANDARD 11) endif()