blob: 8d9b61bfe49e22fdfedff4bffb778b8e39c987dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#################################################
#
# (C) 2011 Golubev Alexander
# fatzer2 (AT) gmail.com
#
# (C) 2020 Slávek Banko
# slavek.banko (AT) axis.cz
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
add_subdirectory(modern-times)
add_subdirectory(progressive)
file( GLOB _wallpapers RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.jpg *.png *.svg *.svgz )
list( SORT _wallpapers)
foreach( _wallpaper IN LISTS _wallpapers )
install(
FILES ${_wallpaper}
DESTINATION ${WALLPAPER_INSTALL_DIR}
)
if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${_wallpaper}.desktop )
tde_create_translated_desktop(
SOURCE ${_wallpaper}.desktop
DESTINATION ${WALLPAPER_INSTALL_DIR}
PO_DIR wallpapers-desktops
)
endif()
endforeach()
|