diff options
Diffstat (limited to 'intern')
-rw-r--r-- | intern/smoke/CMakeLists.txt | 2 | ||||
-rw-r--r-- | intern/smoke/intern/IMAGE.h | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/intern/smoke/CMakeLists.txt b/intern/smoke/CMakeLists.txt index 33dcd5be4bc..1ab323fe70d 100644 --- a/intern/smoke/CMakeLists.txt +++ b/intern/smoke/CMakeLists.txt @@ -24,7 +24,7 @@ # # ***** END GPL LICENSE BLOCK ***** -SET(INC ${ZLIB_INC} intern ../../extern/bullet2/src ../memutil ../guardealloc) +SET(INC ${ZLIB_INC} ${PNG_INC} intern ../../extern/bullet2/src ../memutil ../guardealloc) FILE(GLOB SRC intern/*.cpp) diff --git a/intern/smoke/intern/IMAGE.h b/intern/smoke/intern/IMAGE.h index a57f164509e..ba9b469727b 100644 --- a/intern/smoke/intern/IMAGE.h +++ b/intern/smoke/intern/IMAGE.h @@ -74,7 +74,11 @@ template < class T > inline float MIN3V( T vec) { ////////////////////////////////////////////////////////////////////// // PNG, POV-Ray, and PBRT output functions ////////////////////////////////////////////////////////////////////// +#ifdef WIN32 +#include "png.h" +#else #include <png.h> +#endif namespace IMAGE { /* |