Skip to content

Commit

Permalink
fix zip-related build problems after backport
Browse files Browse the repository at this point in the history
  • Loading branch information
Akaricchi committed Nov 20, 2017
1 parent b315ba3 commit 3c5da74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ pkg_check_modules(ZLIB zlib REQUIRED)
pkg_check_modules(PNG libpng>=1.5 REQUIRED)
pkg_check_modules(ZIP libzip>=1.0 REQUIRED)

set(USE_ZIP ON)
set(ZIP_SUPPORTED ON)

if(NOT NO_AUDIO)
pkg_check_modules(SDL2_MIXER SDL2_mixer REQUIRED)
endif()
Expand Down
1 change: 1 addition & 0 deletions src/vfs/zipfile_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <[email protected]>.
*/

#include <zip.h>
#include "private.h"
#include "hashtable.h"

Expand Down

0 comments on commit 3c5da74

Please sign in to comment.