mimalloc
mimalloc copied to clipboard
Fix find_link_library in the event the linker flag check fails.
This small pull request fixes the issue #1113 by doing 2 things:
- Actually pass the library name being searched for to find_library
- Use unique variables when invoking find_library in order to avoid any shenanigans older CMake versions may pull (unlikely, but better to be safe than sorry).
@microsoft-github-policy-service agree
Hi @WildCard65 , thanks for the fix, but can you make this PR against the dev branch ? (I tried to change the base but it would pull in all other kinds of changes). If this is not easy, I can apply it manually myself as well -- let me know