From 5a9297b1bdaebdfd8fa5e61be141bf5804b06c63 Mon Sep 17 00:00:00 2001 From: Serge Lamikhov-Center Date: Sat, 6 May 2023 16:51:42 +0300 Subject: [PATCH] Use c++17 standard --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7ec0501..ad65d6b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,7 +49,7 @@ target_include_directories( if(IS_TOP_PROJECT) # Enable C++14 for examples and tests if(ELFIO_BUILD_EXAMPLES OR ELFIO_BUILD_TESTS) - set(CMAKE_CXX_STANDARD 14) + set(CMAKE_CXX_STANDARD 17) endif() if(ELFIO_BUILD_EXAMPLES)