From 171d6bf509a7aa1eeb423bf66ec0dec0a5dfcc29 Mon Sep 17 00:00:00 2001 From: Lukas Toenne Date: Thu, 1 Mar 2012 11:19:41 +0000 Subject: Fix for Multilayer EXR API. This was using implementation stubs directly in the header file, causing problems with scons in particular. --- source/blender/imbuf/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/imbuf/CMakeLists.txt') diff --git a/source/blender/imbuf/CMakeLists.txt b/source/blender/imbuf/CMakeLists.txt index 4c8a79e6372..649b7cb1c11 100644 --- a/source/blender/imbuf/CMakeLists.txt +++ b/source/blender/imbuf/CMakeLists.txt @@ -104,6 +104,10 @@ set(SRC if(WITH_IMAGE_OPENEXR) add_definitions(-DWITH_OPENEXR) +else() + list(APPEND SRC + intern/openexr/openexr_stub.cpp + ) endif() if(WITH_IMAGE_TIFF) -- cgit v1.2.3