mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-26 05:10:20 +00:00
small cmake fixes
This commit is contained in:
parent
21c2ae42cf
commit
9985c38e09
1 changed files with 4 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue