error in recent commit
authorCampbell Barton <ideasman42@gmail.com>
Wed, 15 Jun 2011 14:00:50 +0000 (14:00 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 15 Jun 2011 14:00:50 +0000 (14:00 +0000)
build_files/cmake/macros.cmake

index 1e8c66f..7a81582 100644 (file)
@@ -214,6 +214,7 @@ macro(setup_liblinks
        if(WITH_IMAGE_TIFF)
                target_link_libraries(${target} ${TIFF_LIBRARY})
        endif()
+       if(WITH_IMAGE_OPENEXR)
                if(WIN32 AND NOT UNIX)
                        foreach(_LOOP_VAR ${OPENEXR_LIBRARIES})
                                string(REGEX REPLACE ".lib$" "_d.lib" _LOOP_VAR_DEBUG ${_LOOP_VAR})