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.
19 lines
417 B
19 lines
417 B
3 years ago
|
|
||
|
file( GLOB _themes RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * )
|
||
|
list( SORT _themes )
|
||
|
|
||
|
foreach( _theme IN LISTS _themes )
|
||
|
if( NOT IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${_theme} )
|
||
|
list( REMOVE_ITEM _themes "${_theme}" )
|
||
|
endif()
|
||
|
endforeach()
|
||
|
|
||
|
install(
|
||
|
DIRECTORY ${_themes}
|
||
|
DESTINATION ${DATA_INSTALL_DIR}/kmymoney2/icons
|
||
|
FILES_MATCHING
|
||
|
PATTERN "*.gif"
|
||
|
PATTERN "*.png"
|
||
|
PATTERN "*.svgz"
|
||
|
)
|