diff --git a/CMakeLists.txt b/CMakeLists.txt index f259ff2..12b1bd0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,10 +1,11 @@ cmake_minimum_required(VERSION 3.21) -project(sketchybar) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) set(CMAKE_C_STANDARD 99) set(CMAKE_SOURCE_DIR src) -set(CMAKE_C_FLAGS "-std=c99 -Wall -DNDEBUG -Ofast -fvisibility=hidden -mmacosx-version-min=10.13") -set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64") +set(CMAKE_C_FLAGS "-std=c99 -Wall -DNDEBUG -Ofast -fvisibility=hidden") +set(CMAKE_OSX_ARCHITECTURES x86_64 arm64 CACHE STRING "") +set(CMAKE_OSX_DEPLOYMENT_TARGET 10.13) +project(sketchybar) find_library(CARBON Carbon) find_library(COCOA Cocoa) find_library(SKYLIGHT SkyLight /System/Library/PrivateFrameworks)