File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ set(PROJECT_SOURCES
41
41
src/callout.h src/callout.cpp
42
42
resources/icons.qrc
43
43
${APP_ICON_RESOURCE_WINDOWS}
44
+ resources/DataExplorer.icns
44
45
)
45
46
46
47
if (${QT_VERSION_MAJOR} GREATER_EQUAL 6 )
@@ -68,10 +69,12 @@ endif()
68
69
69
70
target_link_libraries (DataExplorer PRIVATE Qt${QT_VERSION_MAJOR}::Widgets Qt${QT_VERSION_MAJOR}::Charts )
70
71
72
+ set_source_files_properties (resources/DataExplorer.icns PROPERTIES MACOSX_PACKAGE_LOCATION "Resources" )
71
73
set_target_properties (DataExplorer PROPERTIES
72
74
MACOSX_BUNDLE_GUI_IDENTIFIER DataExplorer
73
75
MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION}
74
76
MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR} .${PROJECT_VERSION_MINOR}
77
+ MACOSX_BUNDLE_ICON_FILE DataExplorer.icns
75
78
MACOSX_BUNDLE TRUE
76
79
WIN32_EXECUTABLE TRUE
77
80
)
You can’t perform that action at this time.
0 commit comments