Skip to content

Commit

Permalink
Update Darwin.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
bunty95 authored Nov 14, 2024
1 parent f85314e commit 119b72f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/cmake/Darwin.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ install(PROGRAMS
DESTINATION "${DLT_EXECUTABLE_INSTALLATION_PATH}/.."
COMPONENT dlt_viewer)

COMMAND (${MAC_DEPLOY_TOOL} $<TARGET_FILE_DIR:dlt-viewer>/../.. -always-overwrite)


# # enable high-DPI displays support
add_custom_command(TARGET dlt-viewer POST_BUILD
COMMAND ${MACDEPLOYQT_EXECUTABLE} $<TARGET_FILE_DIR:dlt-viewer>/../.. -always-overwrite
COMMAND plutil -replace NSPrincipalClass -string NSApplication $<TARGET_FILE_DIR:dlt-viewer>/../Info.plist
COMMAND plutil -replace NSHighResolutionCapable -bool true $<TARGET_FILE_DIR:dlt-viewer>/../Info.plist)
# add_custom_command(TARGET dlt-viewer POST_BUILD
# COMMAND plutil -replace NSPrincipalClass -string NSApplication $<TARGET_FILE_DIR:dlt-viewer>/../Info.plist
# COMMAND plutil -replace NSHighResolutionCapable -bool true $<TARGET_FILE_DIR:dlt-viewer>/../Info.plist)

0 comments on commit 119b72f

Please sign in to comment.