Fix build when SIMD extensions are disabled

(Broken by previous commit)
This commit is contained in:
DRC
2022-11-04 13:08:08 -05:00
parent e8b40f3c2b
commit bf01ed2fbc
5 changed files with 50 additions and 15 deletions

View File

@@ -36,7 +36,7 @@ if(MSVC)
${CMAKE_BINARY_DIR}/win/jpeg.rc)
set(JPEG_SRCS ${JPEG_SRCS} ${CMAKE_BINARY_DIR}/win/jpeg.rc)
endif()
add_library(jpeg SHARED ${JPEG_SRCS} ${DEFFILE} $<TARGET_OBJECTS:simd>
add_library(jpeg SHARED ${JPEG_SRCS} ${DEFFILE} ${SIMD_TARGET_OBJECTS}
${SIMD_OBJS} ${JPEG12_OBJS})
set_target_properties(jpeg PROPERTIES SOVERSION ${SO_MAJOR_VERSION}