From b7b6655db0d0387fcf90ff57951646e6d81c8fe2 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 6 Mar 2025 14:37:44 -0500 Subject: [PATCH] Update dependencies on Windows to include libpng. --- pdfio.vcxproj | 4 ++-- pdfio_native.nuspec | 1 + pdfio_native.redist.nuspec | 1 + runtests.bat | 2 ++ 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pdfio.vcxproj b/pdfio.vcxproj index 7fc38b9..262e657 100644 --- a/pdfio.vcxproj +++ b/pdfio.vcxproj @@ -115,7 +115,7 @@ Level3 true - _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + HAVE_LIBPNG;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true @@ -130,7 +130,7 @@ true true true - NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + HAVE_LIBPNG;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true diff --git a/pdfio_native.nuspec b/pdfio_native.nuspec index ca43085..1ce3ce1 100644 --- a/pdfio_native.nuspec +++ b/pdfio_native.nuspec @@ -17,6 +17,7 @@ pdf file native + diff --git a/pdfio_native.redist.nuspec b/pdfio_native.redist.nuspec index ba534b5..aa8e6cd 100644 --- a/pdfio_native.redist.nuspec +++ b/pdfio_native.redist.nuspec @@ -16,6 +16,7 @@ Copyright © 2019-2025 by Michael R Sweet pdf file native + diff --git a/runtests.bat b/runtests.bat index ff7e87c..1cbf346 100644 --- a/runtests.bat +++ b/runtests.bat @@ -7,6 +7,8 @@ :: Copy dependent DLLs to the named build directory echo Copying DLLs +copy packages\libpng_native.redist.1.6.30\build\native\bin\x64\Debug\*.dll %1 +copy packages\libpng_native.redist.1.6.30\build\native\bin\x64\Release\*.dll %1 copy packages\zlib_native.redist.1.2.11\build\native\bin\x64\Debug\*.dll %1 copy packages\zlib_native.redist.1.2.11\build\native\bin\x64\Release\*.dll %1