mirror of https://github.com/mgba-emu/mgba.git
CMake: Fix build with libzip 1.7.1
This commit is contained in:
parent
a87fe56ec6
commit
e131831238
|
@ -636,6 +636,8 @@ endif()
|
|||
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})
|
||||
|
|
Loading…
Reference in New Issue