mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
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>
19 lines
613 B
Diff
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
|
|
|