Skip to content

Commit

Permalink
stop if miizip is compiled on 32 bit
Browse files Browse the repository at this point in the history
  • Loading branch information
Vollstrecker committed Dec 26, 2024
1 parent 79a2866 commit 1c3d794
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contrib/minizip/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ project(minizip
VERSION 1.0.0
LANGUAGES C)

if(CMAKE_SIZEOF_VOID_P LESS 8)
message(WARNING "libminizip needs 64bit - stopping here")
return()
endif(CMAKE_SIZEOF_VOID_P LESS 8)

option(MINIZIP_BUILD_SHARED "Enable building zlib shared library" ON)
option(MINIZIP_BUILD_STATIC "Enable building zlib static library" ON)
option(MINIZIP_BUILD_TESTING "Enable testing of minizip" ON)
Expand Down

0 comments on commit 1c3d794

Please sign in to comment.