cmake: fails to filter options for target language #28097
Labels
area: Build System
area: C++
bug
The issue is a bug, or the PR is fixing a bug
priority: medium
Medium impact/importance bug
Since c55c64e or an earlier commit the
CXX_EXCLUDED_OPTIONS
variable in toolchain-specificcompiler_flags.cmake
is not correctly excluding options that are not accepted by the C++ compiler, causing these diagnostics on C++ code:set_compiler_property
is too advanced for me to propose a fix, but this directive:in
cmake/compiler/gcc/compiler_flags.cmake
must not be added to the C++ flag set.Also reported at #21229 (comment).
The text was updated successfully, but these errors were encountered: