[Cycles/MSVC/Testing] Fix broken test code.
[blender.git] / intern / cycles / test / CMakeLists.txt
index 9af777fb9dd03ca8f79299df47f5024dd9dda2b7..80564c33be6b4e6ab26d5182ba0847a294158d3e 100644 (file)
@@ -54,12 +54,23 @@ if(WITH_CYCLES_OPENSUBDIV)
 endif()
 list(APPEND ALL_CYCLES_LIBRARIES
        ${BOOST_LIBRARIES}
+       ${PNG_LIBRARIES}
+       ${JPEG_LIBRARIES}
+       ${ZLIB_LIBRARIES}
+       ${TIFF_LIBRARY}
+       ${OPENIMAGEIO_LIBRARIES}
+       ${OPENEXR_LIBRARIES}
 )
 
 include_directories(${INC})
 
-link_directories(${BOOST_LIBPATH})
-link_directories(${OPENIMAGEIO_LIBPATH})
+link_directories(${OPENIMAGEIO_LIBPATH}
+                 ${BOOST_LIBPATH}
+                 ${PNG_LIBPATH}
+                 ${JPEG_LIBPATH}
+                 ${ZLIB_LIBPATH}
+                 ${TIFF_LIBPATH}
+                 ${OPENEXR_LIBPATH})
 
 set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${PLATFORM_LINKFLAGS}")
 set(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} ${PLATFORM_LINKFLAGS_DEBUG}")