From 81bb6873f1c0291fecbf6e429ad15ac3db66a4c0 Mon Sep 17 00:00:00 2001 From: Aki Date: Tue, 12 Mar 2024 22:07:03 +0100 Subject: Legal notices updated Rename contrib -> third-party intendes to express the origin and purpose of that part of the code better. I plan to readd contrib/ again but with more in-project things like bash-completions, dev workflow scripts etc. --- third-party/libpng/4.aliases.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 third-party/libpng/4.aliases.patch (limited to 'third-party/libpng/4.aliases.patch') diff --git a/third-party/libpng/4.aliases.patch b/third-party/libpng/4.aliases.patch new file mode 100644 index 0000000..14d81d4 --- /dev/null +++ b/third-party/libpng/4.aliases.patch @@ -0,0 +1,19 @@ +diff '--color=auto' -arNu a/CMakeLists.txt b/CMakeLists.txt +--- a/CMakeLists.txt 2024-03-03 12:45:31.540235890 +0100 ++++ b/CMakeLists.txt 2024-03-03 12:46:11.986903772 +0100 +@@ -185,6 +185,7 @@ + endif() + target_include_directories(${PNG_LIB_NAME} PUBLIC ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}) + target_link_libraries(${PNG_LIB_NAME} Zlib::zlib ${M_LIBRARY}) ++ add_library(Png::png ALIAS ${PNG_LIB_NAME}) + endif() + + if(PNG_STATIC) +@@ -197,6 +198,7 @@ + endif() + target_include_directories(${PNG_LIB_NAME_STATIC} PUBLIC ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}) + target_link_libraries(${PNG_LIB_NAME_STATIC} Zlib::zlibstatic ${M_LIBRARY}) ++ add_library(Png::pngstatic ALIAS ${PNG_LIB_NAME_STATIC}) + endif() + + -- cgit v1.1