We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6fc100 commit 7c33927Copy full SHA for 7c33927
repos/spack_repo/builtin/packages/dealii/package.py
@@ -498,8 +498,7 @@ def cmake_args(self):
498
499
# Enforce the specified C++ standard
500
if spec.variants["cxxstd"].value != "default":
501
- cxxstd = spec.variants["cxxstd"].value
502
- cxx_flags.extend(["-std=c++{0}".format(cxxstd)])
+ options.append(self.define_from_variant("CMAKE_CXX_STANDARD", "cxxstd"))
503
504
# Performance
505
# Set recommended flags for maximum (matrix-free) performance, see
0 commit comments