Skip to content

Fix handling of /EHsc and /MP flags #2021

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 13, 2025

Conversation

cary-ilm
Copy link
Member

These flags are now specified via a generator expression, so they are only applied to C++ compilation, not CUDA.

This also makes the flags PRIVATE, not PUBLIC. They should not affect dependant projects, so they should not be a part of the public interface.

Resolves #2018

These flags are now specified via a generator expression, so they are
only applied to C++ compilation, not CUDA.

This also makes the flags PRIVATE, not PUBLIC. They should not affect
dependant projects, so they should not be a part of the public
interface.

Resolves AcademySoftwareFoundation#2018

Signed-off-by: Cary Phillips <[email protected]>
Copy link
Contributor

@kdt3rd kdt3rd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@cary-ilm cary-ilm merged commit 310e3bd into AcademySoftwareFoundation:main Apr 13, 2025
28 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consuming openexr through vcpkg breaks CUDA compilation
2 participants