Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cmake] Use CMAKE_CXX_SIMULATE_ID to distinguish MSVC ABI in Findzstd
Instead of unconditionally assuming MSVC-alike behavior for WIN32 that could negatively impact MSVC, use `CMAKE_CXX_SIMULATE_ID` to detect Clang using MSVC ABI. Note that this variable is unset for MSVC itself, so use it alternatively to MSVC. Thanks to @isuruf for the suggestion (conda-forge/llvmdev-feedstock#306 (comment)).
- Loading branch information