]> granicus.if.org Git - libjpeg-turbo/commitdiff
Oops. Separate .def file is not needed when compiling with jpeg-8 API/ABI emulation.
authorDRC <dcommander@users.sourceforge.net>
Sun, 27 Jan 2013 15:54:59 +0000 (15:54 +0000)
committerDRC <dcommander@users.sourceforge.net>
Sun, 27 Jan 2013 15:54:59 +0000 (15:54 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@922 632fc199-4ca6-4c93-a231-07263d6284db

sharedlib/CMakeLists.txt

index e54ee52216111bdbcac2ed2a89f64a8db127b104..cd3f268725bc8af860b5047e2f8507acecfd39c6 100755 (executable)
@@ -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()