5083ee08a2
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
18 lines
666 B
Diff
18 lines
666 B
Diff
commit 5e0cb8066fb1653399c54e93e42375295c2562bd
|
|
Author: Ivar Scholten <ivar.scholten@protonmail.com>
|
|
Date: Fri Sep 9 14:27:55 2022 +0200
|
|
|
|
Externals/minizip: add missing include to CheckFunctionExists
|
|
|
|
diff --git a/Externals/minizip/CMakeLists.txt b/Externals/minizip/CMakeLists.txt
|
|
index c3d7c5512e..f59f8b295c 100644
|
|
--- a/Externals/minizip/CMakeLists.txt
|
|
+++ b/Externals/minizip/CMakeLists.txt
|
|
@@ -60,6 +60,7 @@ if (HAVE_INTTYPES_H)
|
|
target_compile_definitions(minizip PRIVATE HAVE_INTTYPES_H)
|
|
endif()
|
|
|
|
+include(CheckFunctionExists)
|
|
check_function_exists(fseeko HAVE_FSEEKO)
|
|
if (NOT HAVE_FSEEKO)
|
|
target_compile_definitions(minizip PRIVATE NO_FSEEKO)
|