diff --git a/CMakeLists.txt b/CMakeLists.txt index f2ca768e..0afa12c0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -176,7 +176,7 @@ endmacro() if("${PLATFORM}" MATCHES "osx") # specify the min version of the target platform (only GitHub Actions) if(DEFINED ENV{GITHUB_WORKSPACE}) - set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15") + set(CMAKE_OSX_DEPLOYMENT_TARGET 10.15 CACHE STRING "Minimum macOS version the build will be able to run on" FORCE) endif() # add specific prefix paths