android: libz dependency

This commit is contained in:
Zeno Rogue 2020-04-06 08:41:30 +02:00
parent 29bc05552a
commit c76114face
1 changed files with 3 additions and 0 deletions

View File

@ -36,12 +36,15 @@ find_library( # Sets the name of the path variable.
# you want CMake to locate.
log )
find_library(libz z)
# Specifies libraries CMake should link to your target library. You
# can link multiple libraries, such as libraries you define in the
# build script, prebuilt third-party libraries, or system libraries.
target_link_libraries( # Specifies the target library.
hyper
${libz}
# Links the target library to the log library
# included in the NDK.