summaryrefslogtreecommitdiffstats
path: root/kappfinder/apps/CMakeLists.txt
blob: 0f6a04f21da015cb9c6d4590ebd7beae37d08ca0 (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
#################################################
#
#  (C) 2010-2011 Serghei Amelian
#  serghei (DOT) amelian (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
#
#################################################

file( GLOB_RECURSE _desktops RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.desktop )
list( SORT _desktops )

foreach( _desktop IN LISTS _desktops )
  get_filename_component( _category ${_desktop} PATH )
  tde_create_translated_desktop(
    SOURCE ${_desktop}
    DESTINATION ${DATA_INSTALL_DIR}/kappfinder/apps/${_category}
    PO_DIR kappfinder-data
  )
endforeach()