Mercurial > hg > orthanc
diff Core/Images/PngWriter.h @ 2379:4900688827a8
reorganization in CMake
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 28 Aug 2017 18:07:03 +0200 |
parents | a3a65de1840f |
children | 878b59270859 |
line wrap: on
line diff
--- a/Core/Images/PngWriter.h Mon Aug 28 15:02:27 2017 +0200 +++ b/Core/Images/PngWriter.h Mon Aug 28 18:07:03 2017 +0200 @@ -33,6 +33,14 @@ #pragma once +#if !defined(ORTHANC_ENABLE_PNG) +# error The macro ORTHANC_ENABLE_PNG must be defined +#endif + +#if ORTHANC_ENABLE_PNG != 1 +# error PNG support must be enabled to include this file +#endif + #include "IImageWriter.h" #include <boost/shared_ptr.hpp>