Skip to content

x64-windows is forced if host is 64 bit regardless of architecture selected #7

@louist103

Description

@louist103

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions