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

CMake: Adjust condition for changed name for static libraries. #896

Closed
wants to merge 1 commit into from

Conversation

mmuetzel
Copy link
Contributor

@mmuetzel mmuetzel commented Feb 3, 2025

MSVC-like compilers use the same default suffix for static libraries and import libraries.
Instead of checking whether a compiler is MSVC or simulates it, directly check whether these default suffices clash.

That potentially fixes issue #895. (And even in case it does not, the updated condition is much more to the point.)

MSVC-like compilers use the same default suffix for static libraries and
import libraries.
Instead of checking whether a compiler is MSVC or simulates it, directly
check whether these default suffices clash.

That potentially fixes issue DrTimothyAldenDavis#895. (And even in case it does not, the
updated condition is much more to the point.
@mmuetzel
Copy link
Contributor Author

mmuetzel commented Feb 4, 2025

Turns out that #895 was probably caused by an issue with NMake (i.e., most likely upstream).

Closing this PR because it didn't change anything.

@mmuetzel mmuetzel closed this Feb 4, 2025
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.

1 participant