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