1 From 6442d11617f95d13e2a371bd3e01f5082a9c356d Mon Sep 17 00:00:00 2001
2 From: Las <las@protonmail.ch>
3 Date: Sun, 3 Jan 2021 18:35:37 +0000
4 Subject: [PATCH] Compile transupp.c as part of the library
7 CMakeLists.txt | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
10 diff --git a/CMakeLists.txt b/CMakeLists.txt
11 index adb0ca45..46fc16dd 100644
14 @@ -581,7 +581,7 @@ set(JPEG_SOURCES ${JPEG12_SOURCES} jcapimin.c jchuff.c jcicc.c jcinit.c
15 jclhuff.c jcmarker.c jcmaster.c jcomapi.c jcparam.c jcphuff.c jctrans.c
16 jdapimin.c jdatadst.c jdatasrc.c jdhuff.c jdicc.c jdinput.c jdlhuff.c
17 jdmarker.c jdmaster.c jdphuff.c jdtrans.c jerror.c jfdctflt.c jmemmgr.c
18 - jmemnobs.c jpeg_nbits.c)
19 + jmemnobs.c jpeg_nbits.c transupp.c)
21 if(WITH_ARITH_ENC OR WITH_ARITH_DEC)
22 set(JPEG_SOURCES ${JPEG_SOURCES} jaricom.c)
23 @@ -1803,7 +1803,7 @@ install(EXPORT ${CMAKE_PROJECT_NAME}Targets
25 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/jconfig.h
26 ${CMAKE_CURRENT_SOURCE_DIR}/jerror.h ${CMAKE_CURRENT_SOURCE_DIR}/jmorecfg.h
27 - ${CMAKE_CURRENT_SOURCE_DIR}/jpeglib.h
28 + ${CMAKE_CURRENT_SOURCE_DIR}/jpeglib.h ${CMAKE_CURRENT_SOURCE_DIR}/transupp.h
29 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} COMPONENT include)
31 include(cmakescripts/BuildPackages.cmake)