mirror of
https://github.com/serge1/ELFIO.git
synced 2024-11-19 20:19:07 +00:00
Use c++17 standard
This commit is contained in:
parent
d251da09a0
commit
5a9297b1bd
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user