all repos — mgba @ e131831238851145d6e52370fdef664eff9967b7

mGBA Game Boy Advance Emulator

CMake: Fix build with libzip 1.7.1
Vicki Pfau vi@endrift.com
Fri, 07 Aug 2020 23:17:03 -0700
commit

e131831238851145d6e52370fdef664eff9967b7

parent

a87fe56ec691df7a865b858cde4033a382178c77

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

jump to
M CMakeLists.txtCMakeLists.txt

@@ -636,6 +636,8 @@

if(USE_LIBZIP) if(TARGET libzip::zip) list(APPEND DEPENDENCY_LIB libzip::zip) + elseif(TARGET zip) + list(APPEND DEPENDENCY_LIB zip) else() include_directories(AFTER ${LIBZIP_INCLUDE_DIRS}) link_directories(${LIBZIP_LIBRARY_DIRS})