SDL_image: external libs, jpeg, cmake: set library type to static for now.

From 23ad99f5ea68da63bc581ddd931713451d590aa1 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Sun, 11 Jul 2021 00:28:00 +0300
Subject: [PATCH] external libs, jpeg, cmake: set library type to static for
 now.

A band-aid really, the cmake solution in jpeg needs work.
Fixes: https://github.com/libsdl-org/SDL_image/issues/177
---
 external/jpeg-9d/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/external/jpeg-9d/CMakeLists.txt b/external/jpeg-9d/CMakeLists.txt
index 7d8340e..3b49a85 100644
--- a/external/jpeg-9d/CMakeLists.txt
+++ b/external/jpeg-9d/CMakeLists.txt
@@ -1,7 +1,7 @@
-cmake_minimum_required(VERSION 3.3.2)
+cmake_minimum_required(VERSION 3.1)
 project(jpeg C)
 
-add_library(jpeg)
+add_library(jpeg STATIC)
 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