Oops. Separate .def file is not needed when compiling with jpeg-8 API/ABI emulation.

This commit is contained in:
DRC
2013-01-27 15:54:59 +00:00
parent a0d29e0364
commit e160ae113f

View File

@@ -24,7 +24,7 @@ if(WITH_SIMD)
set_source_files_properties(${SIMD_OBJS} PROPERTIES GENERATED 1)
endif()
if(WITH_MEM_SRCDST)
if(WITH_MEM_SRCDST AND NOT WITH_JPEG8)
add_library(jpeg SHARED ${JPEG_SRCS} ${SIMD_OBJS}
${CMAKE_SOURCE_DIR}/win/jpeg${DLL_VERSION}-memsrcdst.def)
else()