Files
gentoo/dev-games/aseprite/files/aseprite-1.3.13_shared_tinyxml2.patch
Azamat H. Hackimov 9e3815ce40 dev-games/aseprite: add 1.3.13
Closes: https://bugs.gentoo.org/947283
Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/38133
Signed-off-by: Sam James <sam@gentoo.org>
2026-01-08 05:47:03 +00:00

19 lines
613 B
Diff

From 196418c19095c77a33d690a9762e1c9c373228ea Mon Sep 17 00:00:00 2001
From: "Azamat H. Hackimov" <azamat.hackimov@gmail.com>
Date: Sat, 29 Mar 2025 02:36:18 +0300
Subject: [PATCH] Fix linking with third_party library
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -278,6 +278,7 @@ add_definitions(-DPNG_NO_MMX_CODE) # Do not use MMX optimizations in PNG code
if(USE_SHARED_TINYXML)
find_library(TINYXML_LIBRARY NAMES tinyxml2)
find_path(TINYXML_INCLUDE_DIR NAMES tinyxml2.h)
+ find_package(tinyxml2 REQUIRED)
else()
set(TINYXML_LIBRARY tinyxml2)
set(TINYXML_INCLUDE_DIR ${TINYXML_DIR})
--
2.48.1