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 775e5fa commit 06b43fdCopy full SHA for 06b43fd
cmake/yup_utilities.cmake
@@ -290,7 +290,8 @@ function (_yup_setup_coverage_flags target_name)
290
-fprofile-arcs
291
-fprofile-update=atomic
292
-ftest-coverage
293
- -fno-elide-constructors)
+ $<$<COMPILE_LANGUAGE:CXX>:-fno-elide-constructors>
294
+ $<$<COMPILE_LANGUAGE:OBJCXX>:-fno-elide-constructors>)
295
296
target_link_options (${target_name} INTERFACE --coverage)
297
0 commit comments