diff --git a/code/Pbrt/PbrtExporter.cpp b/code/Pbrt/PbrtExporter.cpp index 6a26d3261..fddee26a2 100644 --- a/code/Pbrt/PbrtExporter.cpp +++ b/code/Pbrt/PbrtExporter.cpp @@ -83,7 +83,9 @@ Other: #include #include +#if ASSIMP_NEEDS_STB_IMAGE #include "Common/StbCommon.h" +#endif using namespace Assimp;