We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb7d72f commit 3f74d84Copy full SHA for 3f74d84
gui/qt/CMakeLists.txt
@@ -287,6 +287,10 @@ find_package(PNG QUIET)
287
if(PNG_FOUND)
288
target_compile_definitions(CEmu PRIVATE "PNG_SUPPORT")
289
target_link_libraries(CEmu PRIVATE PNG::PNG)
290
+ # vcpkg provides a libpng that handles APNG
291
+ if(VCPKG_TARGET_TRIPLET)
292
+ target_compile_definitions(CEmu PRIVATE "PNG_WRITE_APNG_SUPPORTED")
293
+ endif()
294
else()
295
message(WARNING "No LibPNG found! APNG capture will not be available")
296
endif()
0 commit comments