|
if (SIZEOF_VOID_P EQUAL 8) |
This causes an issue when trying to cross compile for arm64 as it will select x64 even if the CMake project is configured with
-A arm64.
I was able to work around this by adding a check for
CMAKE_VS_PLATFORM_NAME VCPKG_TARGET_TRIPLET not being defined on the line linked.