From a6454b1658d325d6ff2d6ba6c349b772148798e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 16 Mar 2022 23:34:43 +0100 Subject: Conversion to the cmake building system. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kmymoney2/icons/CMakeLists.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 kmymoney2/icons/CMakeLists.txt (limited to 'kmymoney2/icons/CMakeLists.txt') diff --git a/kmymoney2/icons/CMakeLists.txt b/kmymoney2/icons/CMakeLists.txt new file mode 100644 index 0000000..39f9ead --- /dev/null +++ b/kmymoney2/icons/CMakeLists.txt @@ -0,0 +1,18 @@ + +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" +) -- cgit v1.2.1