PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/CMakeLists.linux.txt

http://github.com/tomahawk-player/tomahawk
Plain Text | 10 lines | 8 code | 2 blank | 0 comment | 0 complexity | 2b6f53aa81a2499366c5d8c5d17c8f10 MD5 | raw file
 1FILE( GLOB _icons "${CMAKE_SOURCE_DIR}/data/icons/tomahawk-icon-*.png" )
 2FOREACH( _file ${_icons} )
 3 STRING( REPLACE "${CMAKE_SOURCE_DIR}/data/icons/tomahawk-icon-" "" _res ${_file} )
 4 STRING( REPLACE ".png" "" _res ${_res} )
 5 INSTALL( FILES ${_file} RENAME tomahawk.png DESTINATION share/icons/hicolor/${_res}/apps )
 6ENDFOREACH( _file )
 7
 8INSTALL( FILES ${CMAKE_SOURCE_DIR}/data/icons/tomahawk-icon.svg RENAME tomahawk.svg  DESTINATION share/icons/hicolor/scalable/apps )
 9
10INSTALL( FILES ${CMAKE_SOURCE_DIR}/admin/unix/tomahawk.desktop DESTINATION share/applications )