vcpkg/ports/libpng/cmake.patch
Clinton Ingram ce8fd9e724
[libpng] Update to 1.6.40 (#35193)
* update libpng to 1.6.40

* update baseline

* fix patch files

* update baseline
2023-11-21 18:24:19 -08:00

14 lines
500 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e355e4d..6dfe543 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -632,7 +632,7 @@ else()
# We also need to use a custom suffix, in order to distinguish between the
# shared import library name and the static library name.
set(PNG_SHARED_OUTPUT_NAME "libpng${PNGLIB_ABI_VERSION}")
- set(PNG_STATIC_OUTPUT_NAME "libpng${PNGLIB_ABI_VERSION}_static")
+ set(PNG_STATIC_OUTPUT_NAME "libpng${PNGLIB_ABI_VERSION}")
endif()
if(PNG_SHARED)