-OpenEXR fixed so enabling if user has enabled
authorAntony Riakiotakis <kalast@gmail.com>
Sun, 10 Jul 2011 20:04:56 +0000 (20:04 +0000)
committerAntony Riakiotakis <kalast@gmail.com>
Sun, 10 Jul 2011 20:04:56 +0000 (20:04 +0000)
-Added Iex to lib list, was causing link time errors

CMakeLists.txt

index f7e8d7d..f5ce397 100644 (file)
@@ -789,11 +789,8 @@ elseif(WIN32)
                if(WITH_IMAGE_OPENEXR)
                        set(OPENEXR ${LIBDIR}/gcc/openexr)
                        set(OPENEXR_INCLUDE_DIRS ${OPENEXR}/include/OpenEXR)
-                       set(OPENEXR_LIBRARIES Half IlmImf Imath IlmThread)
+                       set(OPENEXR_LIBRARIES Half IlmImf Imath IlmThread Iex)
                        set(OPENEXR_LIBPATH ${OPENEXR}/lib)
-
-                       # TODO, gives linking errors, force off
-                       set(WITH_IMAGE_OPENEXR OFF)
                endif()
 
                if(WITH_IMAGE_TIFF)