mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-01-30 23:10:14 -05:00
[CMake] Do not force CMAKE_OSX_DEPLOYMENT_TARGET (#2581)
This leaves the default of 10.15, but allows a user to change it in the cache. When using Homebrew libraries on newer macOS version, the linker emits warnings: ``` ld: warning: dylib (/opt/homebrew/lib/libSDL2.dylib) was built for newer macOS version (13.0) than being linked (11.0) ```
This commit is contained in:
parent
76ceda3118
commit
dbcc6b4818
@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.16.0 FATAL_ERROR)
|
||||
set(CMAKE_SYSTEM_VERSION 10.0 CACHE STRING "" FORCE)
|
||||
set(CMAKE_CXX_STANDARD 20 CACHE STRING "The C++ standard to use")
|
||||
|
||||
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "Minimum OS X deployment version" FORCE)
|
||||
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "Minimum OS X deployment version")
|
||||
|
||||
project(Ship VERSION 6.1.0 LANGUAGES C CXX)
|
||||
set(PROJECT_BUILD_NAME "KHAN ALFA" CACHE STRING "")
|
||||
|
Loading…
Reference in New Issue
Block a user