Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Commit

Permalink
Icons 44x44, 150x150, 310x310 should be only build on Windows (#689)
Browse files Browse the repository at this point in the history
Co-authored-by: Hennadii Chernyshchyk <genaloner@gmail.com>
  • Loading branch information
VolkMilit and Shatur committed Jun 4, 2024
1 parent f50c0b7 commit fff9841
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,18 +98,25 @@ endif()

set(APP_ICONS
data/icons/app/128-apps-crow-translate.png
data/icons/app/150-apps-crow-translate.png
data/icons/app/16-apps-crow-translate.png
data/icons/app/22-apps-crow-translate.png
data/icons/app/256-apps-crow-translate.png
data/icons/app/310-apps-crow-translate.png
data/icons/app/32-apps-crow-translate.png
data/icons/app/44-apps-crow-translate.png
data/icons/app/48-apps-crow-translate.png
data/icons/app/512-apps-crow-translate.png
data/icons/app/64-apps-crow-translate.png
)

if(WIN32)
# Those sizes needed only for Windows, for details see:
# https://learn.microsoft.com/en-us/microsoft-edge/progressive-web-apps-chromium/how-to/icon-theme-color
list(APPEND APP_ICONS
data/icons/app/44-apps-crow-translate.png
data/icons/app/150-apps-crow-translate.png
data/icons/app/310-apps-crow-translate.png
)
endif()

qt5_add_translation(QM_FILES
data/translations/${PROJECT_NAME}_ar_SA.ts
data/translations/${PROJECT_NAME}_az_AZ.ts
Expand Down

0 comments on commit fff9841

Please sign in to comment.