summaryrefslogtreecommitdiffhomepage
path: root/contrib/libpng/2.export.patch
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-03-06 21:47:34 +0100
committerAki <please@ignore.pl>2024-03-06 21:47:34 +0100
commita85fcbf8720562e77e0441ac26cb99d89564400c (patch)
treea15d30b7d00645685c50c291871d34aa5b188bc0 /contrib/libpng/2.export.patch
parent54fa233a00607b9436c03c78b50b9107a33baa0a (diff)
parent1c558822681bbed5121bcc19816cbbac6a437b2a (diff)
downloadstarshatter-a85fcbf8720562e77e0441ac26cb99d89564400c.zip
starshatter-a85fcbf8720562e77e0441ac26cb99d89564400c.tar.gz
starshatter-a85fcbf8720562e77e0441ac26cb99d89564400c.tar.bz2
External projects with established upstream are no longer part of this source tree
Diffstat (limited to 'contrib/libpng/2.export.patch')
-rw-r--r--contrib/libpng/2.export.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/libpng/2.export.patch b/contrib/libpng/2.export.patch
new file mode 100644
index 0000000..089ff85
--- /dev/null
+++ b/contrib/libpng/2.export.patch
@@ -0,0 +1,16 @@
+diff '--color=auto' -arNu a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt 2024-03-03 02:11:53.952166254 +0100
++++ b/CMakeLists.txt 2024-03-03 02:11:16.832164723 +0100
+@@ -380,12 +380,6 @@
+ DESTINATION bin)
+ endif()
+
+-# On versions of CMake that support it, create an export file CMake
+-# users can include() to import our targets
+-if(PNG_EXPORT_RULE AND NOT SKIP_INSTALL_EXPORT AND NOT SKIP_INSTALL_ALL )
+- install(EXPORT libpng DESTINATION lib/libpng FILE lib${PNG_LIB_NAME}.cmake)
+-endif()
+-
+ # what's with libpng-$VER%.txt and all the extra files?
+
+