Skip to content

[SUGGESTION/BUG FIX] On macOS arm64 building the sample projects fails unless a line is added to the CMakeLists.txt file #535

@DarkCat736

Description

@DarkCat736

Hello! It's a possibility this was just an issue on my computer, but when I tried to build the sample projects on an M1 MacBook Pro, it failed because it was trying to retrieve x86-64 dylibs. To fix the issue I added the line set(CMAKE_OSX_ARCHITECTURES "arm64") to the CMakeLists.txt file and it built perfectly! Just wanted to let y'all know. Thanks!

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