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

Don't set _USRDLL on a static Windows build #8030

Closed
wants to merge 1 commit into from

Conversation

@donny-dont
Copy link
Contributor

@donny-dont donny-dont commented Nov 17, 2021

The _USRDLL macro should only be set when building a .dll.

@donny-dont
Copy link
Contributor Author

@donny-dont donny-dont commented Nov 17, 2021

An issue was reported at microsoft/vcpkg#12763 and in vcpkg it was fixed in microsoft/vcpkg#12800 but this version of the fix fits more with the surrounding CMake code.

Loading

bagder
bagder approved these changes Nov 18, 2021
Copy link
Member

@bagder bagder left a comment

Looks perfectly reasonable to me!

Loading

@bagder bagder closed this in f99a4c7 Nov 18, 2021
@bagder
Copy link
Member

@bagder bagder commented Nov 18, 2021

Thanks!

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants