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 1e8c66f9302126a418670979c67447cc4ab7e463..7a8158227a91b2e995a674296eccd3368f0450d6 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})