forked from lthn/blockchain
Fixes CMAKE_OSX_DEPLOYMENT_TARGET (#337)
Hiya, When compiling on macOS, i get "ld: warning: dylib (/opt/homebrew/lib/libboost_filesystem-mt.dylib) was built for newer macOS version (13.0) than being linked (11.0)" This is fixed by adding "CACHE STRING"
This commit is contained in:
parent
2e6d05636d
commit
4ff66c2b15
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ enable_testing()
|
|||
|
||||
|
||||
if(APPLE)
|
||||
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.10.5)
|
||||
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.10.5 CACHE STRING "Minimum OS X deployment version")
|
||||
endif()
|
||||
|
||||
set(USE_PCH FALSE CACHE BOOL "Use shared precompiled headers")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue