all repos — mgba @ f0956ce249be1c553c5f8146d6224bf5e758f091

mGBA Game Boy Advance Emulator

CMake: Fix installation on disco/eoan
Vicki Pfau vi@endrift.com
Sun, 20 Oct 2019 14:46:52 -0700
commit

f0956ce249be1c553c5f8146d6224bf5e758f091

parent

d96b93037484085cd0804b3e2ec9264bdd5adf72

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M CMakeLists.txtCMakeLists.txt

@@ -618,7 +618,7 @@ string(REGEX MATCH "^[0-9]+" LIBZIP_VERSION_MAJOR ${libzip_VERSION})

if (LIBZIP_VERSION_MAJOR LESS 1) set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS},libzip2") elseif(LIBZIP_VERSION_MAJOR EQUAL 1) - set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS},libzip4") + set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS},libzip4|libzip5") else() message(AUTHOR_WARNING Unknown version of libzip detected: ${libzip_VERSION}) endif()