SDL_image: add back CMakeLists.txt to jpeg (was accidentally removed by a6b4df7ef

From b60e040b6d6b4232d66fdc3a2c3939406bd986c4 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Sun, 28 Feb 2021 11:55:02 +0300
Subject: [PATCH] add back CMakeLists.txt to jpeg (was accidentally removed by
 a6b4df7ef

---
 external/jpeg-9d/CMakeLists.txt | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 external/jpeg-9d/CMakeLists.txt

diff --git a/external/jpeg-9d/CMakeLists.txt b/external/jpeg-9d/CMakeLists.txt
new file mode 100644
index 0000000..9fb35ec
--- /dev/null
+++ b/external/jpeg-9d/CMakeLists.txt
@@ -0,0 +1,24 @@
+cmake_minimum_required(VERSION 3.3.2)
+project(jpeg C)
+
+add_library(jpeg SHARED)
+target_sources(jpeg PRIVATE
+		jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c
+		jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c
+		jcomapi.c jcparam.c jcprepct.c jcsample.c jctrans.c jdapimin.c
+		jdapistd.c jdarith.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c
+		jddctmgr.c jdhuff.c jdinput.c jdmainct.c jdmarker.c jdmaster.c
+		jdmerge.c jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c
+		jfdctfst.c jfdctint.c jidctflt.c jquant1.c
+		jquant2.c jutils.c jmemmgr.c
+		jmem-android.c)
+
+
+target_sources(jpeg PRIVATE jidctint.c jidctfst.c)
+
+# FIXME : include asm for ARM
+# target_sources(jpeg PRIVATE jidctint.c jidctfst.S)
+
+target_compile_definitions(jpeg PRIVATE -DAVOID_TABLES)
+
+target_include_directories(jpeg PUBLIC .)