Skip to content

Commit

Permalink
set CMAKE_OSX_DEPLOYMENT_TARGET to build against an older version of …
Browse files Browse the repository at this point in the history
…MacOS (#337)
  • Loading branch information
arvidn authored Apr 22, 2023
1 parent ac2ba66 commit 33ddf78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.14.0 FATAL_ERROR)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_C_STANDARD 99)
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15")

set(CMAKE_POSITION_INDEPENDENT_CODE ON)

Expand Down

0 comments on commit 33ddf78

Please sign in to comment.