From 5cfe3760a574d2d7eec922024681663c5dee3bb9 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Fri, 9 Aug 2024 09:11:21 +0300 Subject: [PATCH 1/2] Include missing cmake includes Otherwise it depends on other externals getting used and including them before. Signed-off-by: Alfred Wingate --- Externals/minizip-ng/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Externals/minizip-ng/CMakeLists.txt b/Externals/minizip-ng/CMakeLists.txt index 5929cef96d..bd62ba029b 100644 --- a/Externals/minizip-ng/CMakeLists.txt +++ b/Externals/minizip-ng/CMakeLists.txt @@ -1,5 +1,8 @@ project(minizip C) +include(CheckFunctionExists) +include(CheckIncludeFile) + add_library(minizip STATIC minizip-ng/mz.h # minizip-ng/compat/crypt.h From a3c7423273a194404a790ff40ae17568408890bf Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Thu, 22 Aug 2024 18:42:33 +0300 Subject: [PATCH 2/2] Remove unused cmake includes Signed-off-by: Alfred Wingate --- Externals/bzip2/CMakeLists.txt | 1 - Externals/liblzma/CMakeLists.txt | 1 - Externals/zstd/CMakeLists.txt | 1 - 3 files changed, 3 deletions(-) diff --git a/Externals/bzip2/CMakeLists.txt b/Externals/bzip2/CMakeLists.txt index 5ab09692df..62e0e075c4 100644 --- a/Externals/bzip2/CMakeLists.txt +++ b/Externals/bzip2/CMakeLists.txt @@ -3,7 +3,6 @@ project(bzip2 C) include(CheckTypeSize) include(CheckFunctionExists) include(CheckIncludeFile) -include(CheckCSourceCompiles) check_include_file(sys/types.h HAVE_SYS_TYPES_H) check_include_file(stdint.h HAVE_STDINT_H) diff --git a/Externals/liblzma/CMakeLists.txt b/Externals/liblzma/CMakeLists.txt index 3c728a007e..0d33d0ad9d 100644 --- a/Externals/liblzma/CMakeLists.txt +++ b/Externals/liblzma/CMakeLists.txt @@ -3,7 +3,6 @@ project(lzma C) include(CheckTypeSize) include(CheckFunctionExists) include(CheckIncludeFile) -include(CheckCSourceCompiles) check_include_file(sys/types.h HAVE_SYS_TYPES_H) check_include_file(stdint.h HAVE_STDINT_H) diff --git a/Externals/zstd/CMakeLists.txt b/Externals/zstd/CMakeLists.txt index 335ad06abf..bb164b45a7 100644 --- a/Externals/zstd/CMakeLists.txt +++ b/Externals/zstd/CMakeLists.txt @@ -7,7 +7,6 @@ endif() include(CheckTypeSize) include(CheckFunctionExists) include(CheckIncludeFile) -include(CheckCSourceCompiles) check_include_file(sys/types.h HAVE_SYS_TYPES_H) check_include_file(stdint.h HAVE_STDINT_H)