Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tamlok committed May 20, 2024
1 parent 57bcb07 commit e1c0b35
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Install Dependencies
run: |
brew install tree
brew install tree libiodbc
- name: Install a fresh CMake
run: |
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ if (WIN32)
elseif(APPLE)
set(CMAKE_MACOSX_BUNDLE ON)
set(CMAKE_MACOSX_RPATH ON)
install(TARGETS vnote BUNDLE DESTINATION . RUNTIME DESTINATION .)
install(TARGETS vnote BUNDLE DESTINATION . RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
set_target_properties(vnote
PROPERTIES
MACOSX_BUNDLE_BUNDLE_NAME "${PROJECT_NAME}"
Expand Down
4 changes: 2 additions & 2 deletions src/CPackMacDeployQt.cmake.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
execute_process(COMMAND "${MACDEPLOYQT_EXECUTABLE}" ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.app -dmg
--always-overwirte
execute_process(COMMAND "${MACDEPLOYQT_EXECUTABLE}" ${CMAKE_CURRENT_BINARY_DIR}/vnote.app -dmg
-always-overwrite
WORKING_DIRECTORY ${CPACK_PACKAGE_DIRECTORY}
)
2 changes: 1 addition & 1 deletion src/Packaging.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ elseif(APPLE)
message(STATUS "Package generation - MacOS - DMG")

list(APPEND CPACK_GENERATOR External)
set(CPACK_BUNDLE_NAME "vnote" )
set(CPACK_BUNDLE_NAME "${PROJECT_NAME}" )
set(CPACK_BUNDLE_PLIST "${CMAKE_CURRENT_LIST_DIR}/data/core/Info.plist")
set(CPACK_BUNDLE_ICON "${CMAKE_CURRENT_LIST_DIR}/data/core/icons/vnote.icns")
set(CPACK_DMG_VOLUME_NAME "${PROJECT_NAME}")
Expand Down

0 comments on commit e1c0b35

Please sign in to comment.