CMake: macOS: Build Universal Binaries

This commit is contained in:
Tom Dewey 2024-09-03 14:21:44 +01:00 committed by Tom Dewey
parent f7c72a68d8
commit 7685341db7

View file

@ -6,6 +6,8 @@ OPTION (ENABLE_CHECK_VERSION "Check for version updates" ON)
OPTION (ENABLE_TELEMETRY "Enable sending telemetry" ON)
OPTION (DRIVELIST_FILTER_SYSTEM_DRIVES "Filter System drives from displayed drives" ON)
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64" CACHE STRING "Which macOS architectures to build for")
project(rpi-imager LANGUAGES CXX C)
set(IMAGER_VERSION_MAJOR 1)
set(IMAGER_VERSION_MINOR 9)