Fix linker error and multiply defined symbols.

This commit is contained in:
Nick 2020-04-17 07:32:01 -04:00
parent eb36a07ab7
commit 4e76c00a42
2 changed files with 2 additions and 2 deletions

@ -14,7 +14,7 @@
#include <vtkm/internal/Configure.h>
VTKM_THIRDPARTY_PRE_INCLUDE
#include <vtkm/thirdparty/lodepng/vtkmlodepng/lodepng.cpp>
#include <vtkm/thirdparty/lodepng/vtkmlodepng/lodepng.h>
VTKM_THIRDPARTY_PRE_INCLUDE
namespace vtkm

@ -28,7 +28,7 @@ vtkm::UInt32 EncodePNG(std::vector<unsigned char> const& image,
std::size_t out_size);
VTKM_RENDERING_EXPORT
vtkm::UInt32 SavePNG(std::string filename,
vtkm::UInt32 SavePNG(std::string const& filename,
std::vector<unsigned char> const& image,
unsigned long width,
unsigned long height);