Skip to content

Commit e96edae

Browse files
authored
Require C++17 (#2356)
This enables many useful newer C++ features. C++17 is already required by many components of the Khronos ecosystem. Signed-off-by: Kevin Petit <[email protected]>
1 parent 0abec2f commit e96edae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ project(CLConform${CONFORMANCE_SUFFIX})
77

88
set(CMAKE_C_STANDARD 99)
99
set(CMAKE_C_STANDARD_REQUIRED ON)
10-
set(CMAKE_CXX_STANDARD 11)
10+
set(CMAKE_CXX_STANDARD 17)
1111
set(CMAKE_CXX_STANDARD_REQUIRED ON)
1212

1313
add_definitions(-DCL_TARGET_OPENCL_VERSION=300)

0 commit comments

Comments
 (0)