Use c++17 standard

This commit is contained in:
Serge Lamikhov-Center 2023-05-06 16:51:42 +03:00
parent d251da09a0
commit 5a9297b1bd

View File

@ -49,7 +49,7 @@ target_include_directories(
if(IS_TOP_PROJECT) if(IS_TOP_PROJECT)
# Enable C++14 for examples and tests # Enable C++14 for examples and tests
if(ELFIO_BUILD_EXAMPLES OR ELFIO_BUILD_TESTS) if(ELFIO_BUILD_EXAMPLES OR ELFIO_BUILD_TESTS)
set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD 17)
endif() endif()
if(ELFIO_BUILD_EXAMPLES) if(ELFIO_BUILD_EXAMPLES)