Improve code for icon
* Make the paths consistent with other projects * Remove PNG_ICON_NO_CROP which is no longer required with c++utilities 5.6
This commit is contained in:
parent
1d0888a621
commit
6f67e87149
|
@ -38,9 +38,7 @@ set(WIDGETS_UI_FILES gui/traywidget.ui)
|
|||
set(TS_FILES translations/${META_PROJECT_NAME}_cs_CZ.ts translations/${META_PROJECT_NAME}_de_DE.ts
|
||||
translations/${META_PROJECT_NAME}_en_US.ts)
|
||||
|
||||
set(ICON_FILES resources/icons/hicolor/scalable/app/${META_PROJECT_NAME}.svg)
|
||||
set(PNG_ICON_PATH "${CMAKE_CURRENT_SOURCE_DIR}/resources/icons/hicolor/scalable/app/${META_PROJECT_NAME}.png")
|
||||
set(PNG_ICON_NO_CROP ON)
|
||||
set(ICON_FILES resources/icons/hicolor/scalable/apps/${META_PROJECT_NAME}.svg)
|
||||
|
||||
set(DOC_FILES README.md)
|
||||
|
||||
|
@ -96,7 +94,7 @@ set(REQUIRED_ICONS
|
|||
window-close)
|
||||
|
||||
# find c++utilities
|
||||
find_package(c++utilities${CONFIGURATION_PACKAGE_SUFFIX} 5.0.0 REQUIRED)
|
||||
find_package(c++utilities${CONFIGURATION_PACKAGE_SUFFIX} 5.6.0 REQUIRED)
|
||||
use_cpp_utilities()
|
||||
|
||||
# find qtutilities
|
||||
|
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Loading…
Reference in New Issue