From 8cb9b4511da992a120019cab70b7b70ed9adff8b Mon Sep 17 00:00:00 2001 From: Le Tan Date: Tue, 21 May 2024 22:40:10 +0800 Subject: [PATCH] fix mac --- CMakeLists.txt | 3 +++ src/CMakeLists.txt | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a9be2e30ca..21ed75d5b3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,7 @@ cmake_minimum_required (VERSION 3.20) + +set(CMAKE_OSX_DEPLOYMENT_TARGET 13.6 FORCE) + project(VNote VERSION 3.17.0 DESCRIPTION "A pleasant note-taking platform" diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c2bfa6f7a8..71d0dab326 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -129,7 +129,6 @@ elseif(APPLE) PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "${PROJECT_NAME}" MACOSX_BUNDLE_INFO_STRING "${PROJECT_DESCRIPTION}" - MACOSX_BUNDLE_ICON_FILE "${VX_APP_ICON_MACOS}" MACOSX_BUNDLE_GUI_IDENTIFIER "fun.vnote.app" MACOSX_BUNDLE_LONG_VERSION_STRING "${PROJECT_VERSION}" MACOSX_BUNDLE_SHORT_VERSION_STRING "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}"