upgpkg: aseprite 1.3.10.1-3

Fix build
This commit is contained in:
ImperatorStorm
2024-11-25 19:39:37 -06:00
parent 18d6adea1e
commit 16f6266c92
3 changed files with 42 additions and 5 deletions

24
fix-shared-tinyxml2.patch Normal file
View File

@@ -0,0 +1,24 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 674dbd6..1ba8329 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,6 +3,8 @@ cmake_minimum_required(VERSION 3.1)
project(TinyEXIF)
include(GNUInstallDirs)
+find_package(tinyxml2 REQUIRED)
+
#CMAKE_BUILD_TOOL
################################
@@ -141,6 +143,10 @@ if(BUILD_STATIC_LIBS)
endif()
endif()
+ # export targets for find_package config mode
+ export(TARGETS TinyEXIFstatic
+ FILE ${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}Targets.cmake)
+
install(TARGETS TinyEXIFstatic
EXPORT ${CMAKE_PROJECT_NAME}Targets
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}