From f2aa81231355fe4455e13ed23ee3d4b917679e00 Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 15 Jul 2020 10:50:16 +0200 Subject: [PATCH] Netgen: [skip ci] force C++17 if netgen >= 6.2 is used --- src/3rdParty/salomesmesh/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/3rdParty/salomesmesh/CMakeLists.txt b/src/3rdParty/salomesmesh/CMakeLists.txt index 3ee8669ae7..28ac40da41 100644 --- a/src/3rdParty/salomesmesh/CMakeLists.txt +++ b/src/3rdParty/salomesmesh/CMakeLists.txt @@ -421,7 +421,7 @@ else() endif(WIN32) IF(NOT NETGEN_VERSION_C LESS NETGEN_VERSION_62) # Version >= 6.2 set_target_properties(NETGENPlugin PROPERTIES CXX_STANDARD_REQUIRED ON) - set_target_properties(NETGENPlugin PROPERTIES CXX_STANDARD 14) # Standard std=c++1y could work aswell + set_target_properties(NETGENPlugin PROPERTIES CXX_STANDARD 17) # Standard std=c++1y could work aswell ENDIF() endif (BUILD_FEM_NETGEN)