dealii:: fixed application of stdcxx variant (#32413)

* Fixed imposition of stdcxx.

* Fixed style.
This commit is contained in:
Luca Heltai 2022-08-29 17:41:17 +02:00 committed by GitHub
parent 9687d91d72
commit 1c22af8ef4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -602,6 +602,11 @@ def cmake_args(self):
options.extend(
[
self.define("CMAKE_CXX_FLAGS_RELEASE", " ".join(cxx_flags_release)),
]
)
if len(cxx_flags) > 0:
options.extend(
[
self.define("CMAKE_CXX_FLAGS", " ".join(cxx_flags)),
]
)