vcpkg/ports/libpng/cmake.patch
JonLiu1993 174be48039
[libpng] update to 1.7.38 (#27721)
* [libpng] update to 1.7.38

* update version

* update patch

* update version
2022-11-11 12:24:53 -08:00

14 lines
501 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8652564..d0681d2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -614,7 +614,7 @@ if(PNG_STATIC)
# MSVC doesn't use a different file extension for shared vs. static
# libs. We are able to change OUTPUT_NAME to remove the _static
# for all other platforms.
- if(NOT MSVC)
+ if(1)
set_target_properties(png_static PROPERTIES
OUTPUT_NAME "${PNG_LIB_NAME}"
CLEAN_DIRECT_OUTPUT 1)