force x86-64 on MacOS

This commit is contained in:
Acurisu 2022-02-03 08:48:15 +01:00
parent 11149d7a97
commit c75eb2bba2
No known key found for this signature in database
GPG key ID: 39200715D90110A4

View file

@ -1,6 +1,11 @@
# Require at least CMake version 3.14.5 or later for FetchContent
cmake_minimum_required(VERSION 3.14.5)
# Force x86-64 on MacOS (for Apple Silicon)
if(APPLE)
set(CMAKE_OSX_ARCHITECTURES "x86_64")
endif()
# Define the VTIL project
project(VTIL-Core)