Skip to content

Commit e31b1d1

Browse files
committed
[fix] global: fix macos target platform
1 parent e4a6f80 commit e31b1d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function(configure_target target_name)
9393
MACOSX_BUNDLE TRUE
9494
MACOSX_BUNDLE_ICON_FILE "icon.icns"
9595
)
96-
96+
set(CMAKE_OSX_DEPLOYMENT_TARGET "12.0" CACHE STRING "Minimum macOS deployment target")
9797
set(app_icon_macos "${CMAKE_SOURCE_DIR}/src/assets/icon.icns")
9898
set_source_files_properties(${app_icon_macos} PROPERTIES
9999
MACOSX_PACKAGE_LOCATION "Resources"

0 commit comments

Comments
 (0)