You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
876 B
32 lines
876 B
##### install icons #############################
|
|
|
|
tde_install_icons( kpilot kpilotDaemon )
|
|
|
|
|
|
##### install other icons #######################
|
|
|
|
unset( _other_icons )
|
|
file( GLOB _icon_files *-*.png *-*.mng *-*.svg* )
|
|
foreach( _icon_file ${_icon_files} )
|
|
string( REGEX REPLACE ".*-([^.]*)\\.(png|mng|svg.*)$" "\\1" _icon ${_icon_file} )
|
|
if( NOT "${_icon}" STREQUAL "kpilot"
|
|
AND NOT "${_icon}" STREQUAL "kpilotDaemon"
|
|
AND NOT "${_icon}" STREQUAL "splash" )
|
|
list( APPEND _other_icons "${_icon}" )
|
|
endif( )
|
|
endforeach( )
|
|
|
|
if( _other_icons )
|
|
list( SORT _other_icons )
|
|
list( REMOVE_DUPLICATES _other_icons )
|
|
|
|
tde_install_icons( ${_other_icons} DESTINATION "${DATA_INSTALL_DIR}/${PROJECT_NAME}/icons" )
|
|
endif( )
|
|
|
|
|
|
##### other data ################################
|
|
|
|
install( FILES kpilot-splash.png
|
|
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/pics
|
|
)
|