travis: OCCT 7.5.1 uses [[nodiscard]] that is a C++17 feature.

To avoid to get tons of warnings because of -Wpedantic the clang build should use C++17, too
This commit is contained in:
wmayer
2021-03-01 17:38:36 +01:00
committed by wwmayer
parent deaf74856b
commit daef7ec0fe

View File

@@ -66,7 +66,7 @@ jobs:
env:
- CC=clang-10
- CXX=clang++-10
- CMAKE_ARGS="-DPYTHON_EXECUTABLE=/usr/bin/python3 -DBUILD_FEM_NETGEN=ON -DBUILD_QT5=ON"
- CMAKE_ARGS="-DPYTHON_EXECUTABLE=/usr/bin/python3 -DBUILD_FEM_NETGEN=ON -DBUILD_QT5=ON -DBUILD_ENABLE_CXX_STD='C++17'"
- CACHE_NAME=JOB1
- os: linux