Use system-installed lodepng if BUNDLE_DEPENDENCIES=OFF (#1250)

This commit is contained in:
Ben Young
2025-10-08 12:15:35 -05:00
committed by GitHub
parent d3197d10f7
commit d9a3158f6a
2 changed files with 14 additions and 11 deletions

View File

@@ -1,2 +1,6 @@
#ifdef SYSTEM_LODEPNG
#include <lodepng.h>
#else
/* Workaround for being unable to rename lodepng.cpp to lodepng.c */
#include "../../third_party/lodepng/lodepng.cpp"
#endif