Skip to content

Commit 8e2c7ef

Browse files
authored
Update to C++17 (#528)
Signed-off-by: Chris Lalancette <[email protected]>
1 parent c200dd3 commit 8e2c7ef

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test_security/CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ cmake_minimum_required(VERSION 3.7)
22

33
project(test_security)
44

5-
# Default to C++14
5+
# Default to C++17
66
if(NOT CMAKE_CXX_STANDARD)
7-
set(CMAKE_CXX_STANDARD 14)
7+
set(CMAKE_CXX_STANDARD 17)
8+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
89
endif()
910
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
1011
add_compile_options(-Wall -Wextra -Wpedantic)

0 commit comments

Comments
 (0)