mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-22 07:58:22 +08:00
Add icons and desktop files to UEFITool install target for Linux and FreeBSD
This commit is contained in:
parent
4053a8fe72
commit
a5a0f55149
@ -140,9 +140,15 @@ SET_TARGET_PROPERTIES(UEFITool PROPERTIES
|
||||
AUTOUIC ON
|
||||
)
|
||||
|
||||
IF(UNIX AND (NOT APPLE))
|
||||
SET_TARGET_PROPERTIES(UEFITool PROPERTIES
|
||||
OUTPUT_NAME uefitool)
|
||||
IF(UNIX AND (NOT APPLE) AND (NOT CYGWIN))
|
||||
SET_TARGET_PROPERTIES(UEFITool PROPERTIES OUTPUT_NAME uefitool)
|
||||
INSTALL(FILES icons/uefitool_16x16.png DESTINATION share/icons/hicolor/16x16/apps RENAME uefitool.png)
|
||||
INSTALL(FILES icons/uefitool_32x32.png DESTINATION share/icons/hicolor/32x32/apps RENAME uefitool.png)
|
||||
INSTALL(FILES icons/uefitool_64x64.png DESTINATION share/icons/hicolor/64x64/apps RENAME uefitool.png)
|
||||
INSTALL(FILES icons/uefitool_128x128.png DESTINATION share/icons/hicolor/128x128/apps RENAME uefitool.png)
|
||||
INSTALL(FILES icons/uefitool_256x256.png DESTINATION share/icons/hicolor/256x256/apps RENAME uefitool.png)
|
||||
INSTALL(FILES icons/uefitool_512x512.png DESTINATION share/icons/hicolor/512x512/apps RENAME uefitool.png)
|
||||
INSTALL(FILES uefitool.desktop DESTINATION share/applications)
|
||||
ENDIF()
|
||||
|
||||
INSTALL(TARGETS UEFITool BUNDLE DESTINATION "/Applications" )
|
||||
|
Loading…
Reference in New Issue
Block a user