2019-12-24 07:26:04 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2022-11-12 04:24:53 +08:00
|
|
|
index 8652564..d0681d2 100644
|
2019-12-24 07:26:04 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2022-11-12 04:24:53 +08:00
|
|
|
@@ -614,7 +614,7 @@ if(PNG_STATIC)
|
2019-12-24 07:26:04 +08:00
|
|
|
# MSVC doesn't use a different file extension for shared vs. static
|
2022-11-12 04:24:53 +08:00
|
|
|
# libs. We are able to change OUTPUT_NAME to remove the _static
|
2019-12-24 07:26:04 +08:00
|
|
|
# for all other platforms.
|
|
|
|
- if(NOT MSVC)
|
2022-04-19 05:33:43 +08:00
|
|
|
+ if(1)
|
|
|
|
set_target_properties(png_static PROPERTIES
|
2022-11-12 04:24:53 +08:00
|
|
|
OUTPUT_NAME "${PNG_LIB_NAME}"
|
|
|
|
CLEAN_DIRECT_OUTPUT 1)
|