Warning, /graphics/krita/3rdparty/ext_frameworks/0001-Skip-looking-for-Png2Ico-when-IcoTool-is-found.patch is written in an unsupported language. File is not indexed.
0001 From db8f45eaae9de3451281f4e288d3d7bbb88497a0 Mon Sep 17 00:00:00 2001 0002 From: Dmitry Kazakov <dimula73@gmail.com> 0003 Date: Wed, 18 Aug 2021 14:06:05 +0300 0004 Subject: [PATCH] Skip looking for Png2Ico when IcoTool is found 0005 0006 This extra search of the package is listed in the build summary 0007 and makes developers confused, because the library is not actually 0008 needed anymore. 0009 --- 0010 modules/ECMAddAppIcon.cmake | 6 +++++- 0011 1 file changed, 5 insertions(+), 1 deletion(-) 0012 0013 diff --git a/modules/ECMAddAppIcon.cmake b/modules/ECMAddAppIcon.cmake 0014 index 294bd8b..fdebd1d 100644 0015 --- a/modules/ECMAddAppIcon.cmake 0016 +++ b/modules/ECMAddAppIcon.cmake 0017 @@ -192,8 +192,12 @@ function(ecm_add_app_icon appsources) 0018 if (WIN32 AND (windows_icons_modern OR windows_icons_classic)) 0019 set(saved_CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}") 0020 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_FIND_MODULE_DIR}) 0021 - find_package(Png2Ico) 0022 find_package(IcoTool) 0023 + 0024 + if (NOT IcoTool_FOUND) 0025 + find_package(Png2Ico) 0026 + endif() 0027 + 0028 set(CMAKE_MODULE_PATH "${saved_CMAKE_MODULE_PATH}") 0029 0030 function(create_windows_icon_and_rc command args deps) 0031 -- 0032 2.20.1.windows.1 0033