Netgen: [skip ci] force C++17 if netgen >= 6.2 is used

This commit is contained in:
wmayer
2020-07-15 10:50:16 +02:00
parent b5dc95359d
commit 03fa5cf92b

View File

@@ -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)