Skip to content

Commit 32956a0

Browse files
committed
Revert windows.cmake
1 parent 986d714 commit 32956a0

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

platform/windows/windows.cmake

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,6 @@ elseif(DEFINED ENV{MSYSTEM})
4444
find_package(PNG REQUIRED)
4545
find_package(PkgConfig REQUIRED)
4646

47-
# Fix zlib conflicts in MSYS2 builds
48-
if(TARGET PNG::PNG)
49-
# Get the actual PNG libraries from pkg-config to avoid zlib conflicts
50-
pkg_check_modules(PNG_PC libpng REQUIRED)
51-
set_target_properties(PNG::PNG PROPERTIES
52-
INTERFACE_LINK_LIBRARIES "${PNG_PC_LINK_LIBRARIES}"
53-
INTERFACE_INCLUDE_DIRECTORIES "${PNG_PC_INCLUDE_DIRS}"
54-
)
55-
endif()
56-
5747
pkg_search_module(WEBP libwebp REQUIRED)
5848
pkg_search_module(LIBUV libuv REQUIRED)
5949
pkg_search_module(CURL libcurl REQUIRED)

0 commit comments

Comments
 (0)