diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/minizip/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/minizip/CMakeLists.txt b/contrib/minizip/CMakeLists.txt index e599951..766efb9 100644 --- a/contrib/minizip/CMakeLists.txt +++ b/contrib/minizip/CMakeLists.txt | |||
@@ -4,6 +4,11 @@ project(minizip | |||
4 | VERSION 1.0.0 | 4 | VERSION 1.0.0 |
5 | LANGUAGES C) | 5 | LANGUAGES C) |
6 | 6 | ||
7 | if(CMAKE_SIZEOF_VOID_P LESS 8) | ||
8 | message(WARNING "libminizip needs 64bit - stopping here") | ||
9 | return() | ||
10 | endif(CMAKE_SIZEOF_VOID_P LESS 8) | ||
11 | |||
7 | option(MINIZIP_BUILD_SHARED "Enable building zlib shared library" ON) | 12 | option(MINIZIP_BUILD_SHARED "Enable building zlib shared library" ON) |
8 | option(MINIZIP_BUILD_STATIC "Enable building zlib static library" ON) | 13 | option(MINIZIP_BUILD_STATIC "Enable building zlib static library" ON) |
9 | option(MINIZIP_BUILD_TESTING "Enable testing of minizip" ON) | 14 | option(MINIZIP_BUILD_TESTING "Enable testing of minizip" ON) |