Skip to content

Commit

Permalink
Merge pull request #3804 from canonical/bump-macos-ver
Browse files Browse the repository at this point in the history
[cmake] bump macos project version
  • Loading branch information
sharder996 authored Dec 2, 2024
2 parents bf396bd + 052382f commit e6e06ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ cmake_policy(SET CMP0079 NEW) # Allow target_link_libraries() in subdirs
cmake_host_system_information(RESULT HOST_OS_NAME QUERY OS_NAME)

if("${HOST_OS_NAME}" STREQUAL "macOS")
set(CMAKE_OSX_DEPLOYMENT_TARGET "11.0") # needs to be set before "project"
set(CMAKE_OSX_DEPLOYMENT_TARGET "12.0") # needs to be set before "project"
set(VCPKG_HOST_OS "osx")
elseif("${HOST_OS_NAME}" STREQUAL "Windows")
set(VCPKG_HOST_OS "windows-static-md")
Expand Down

0 comments on commit e6e06ab

Please sign in to comment.