Skip to content
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

Fix Ilmbase linker warning with LINKSTATIC on Windows. #1701

Merged

Conversation

brechtvl
Copy link
Contributor

@brechtvl brechtvl commented Jun 6, 2017

After recent refactoring OPENEXR_DLL is defined when LINKSTATIC=ON which I'm guessing was not an intentional change. This restores the behavior before the refactor, fixing a bunch of LNK4217 warnings when building with static IlmBase libraries.

This matches the OSL fix in AcademySoftwareFoundation/OpenShadingLanguage#768

@lgritz
Copy link
Collaborator

lgritz commented Jun 6, 2017

LGTM, thanks

@lgritz lgritz merged commit 48e4d6b into AcademySoftwareFoundation:master Jun 6, 2017
@brechtvl brechtvl deleted the disable-openexr-dll-static branch May 27, 2023 22:32
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.

2 participants