Skip to content

Commit ee48f0c

Browse files
Force set CMAKE_OSX_DEPLOYMENT_TARGET to 10.15
1 parent e9c691e commit ee48f0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ endmacro()
176176
if("${PLATFORM}" MATCHES "osx")
177177
# specify the min version of the target platform (only GitHub Actions)
178178
if(DEFINED ENV{GITHUB_WORKSPACE})
179-
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15")
179+
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.15 CACHE STRING "Minimum macOS version the build will be able to run on" FORCE)
180180
endif()
181181

182182
# add specific prefix paths

0 commit comments

Comments
 (0)