mirror of https://github.com/mgba-emu/mgba.git
CMake: Fix build with libzip 1.7.1
This commit is contained in:
parent
2499a6e361
commit
b8c2f0c6b0
|
@ -615,6 +615,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