Blame 0002-unbundled-md5.patch

08ccf24
From cc0059062e9a5ce6b4a15a2383f17472e24533ac Mon Sep 17 00:00:00 2001
08ccf24
From: ElXreno <elxreno@gmail.com>
08ccf24
Date: Wed, 1 Jan 2020 20:00:52 +0300
08ccf24
Subject: [PATCH 1/2] Unbundled md5
08ccf24
08ccf24
---
08ccf24
 CMakeLists.txt | 11 ++---------
08ccf24
 1 file changed, 2 insertions(+), 9 deletions(-)
08ccf24
08ccf24
diff --git a/CMakeLists.txt b/CMakeLists.txt
08ccf24
index 024b5de9a..b498af737 100644
08ccf24
--- a/CMakeLists.txt
08ccf24
+++ b/CMakeLists.txt
08ccf24
@@ -536,15 +536,8 @@ endif()
08ccf24
 set_src(DEP_JSON_SRC GLOB src/engine/external/json-parser json.c json.h)
08ccf24
 add_library(json EXCLUDE_FROM_ALL OBJECT ${DEP_JSON_SRC})
08ccf24
 
08ccf24
-set_src(DEP_MD5_SRC GLOB src/engine/external/md5 md5.c md5.h)
08ccf24
-add_library(md5 EXCLUDE_FROM_ALL OBJECT ${DEP_MD5_SRC})
08ccf24
-
08ccf24
-list(APPEND TARGETS_DEP json md5)
08ccf24
+list(APPEND TARGETS_DEP json)
08ccf24
 set(DEP_JSON $<TARGET_OBJECTS:json>)
08ccf24
-set(DEP_MD5)
08ccf24
-if(NOT CRYPTO_FOUND)
08ccf24
-  set(DEP_MD5 $<TARGET_OBJECTS:md5>)
08ccf24
-endif()
08ccf24
 
08ccf24
 ########################################################################
08ccf24
 # COPY DATA AND DLLS
08ccf24
@@ -776,7 +769,7 @@ set(GAME_GENERATED_SHARED
08ccf24
   src/game/generated/protocol.h
08ccf24
 )
08ccf24
 
08ccf24
-set(DEPS ${DEP_JSON} ${DEP_MD5} ${ZLIB_DEP})
08ccf24
+set(DEPS ${DEP_JSON} ${ZLIB_DEP})
08ccf24
 
08ccf24
 # Libraries
08ccf24
 set(LIBS
08ccf24
-- 
08ccf24
2.24.1
08ccf24