Restore zlib.

This commit is contained in:
K. S. Ernest (iFire) Lee 2021-06-06 23:05:13 -07:00
parent 5da89cdc90
commit 050de3ee8d
1 changed files with 3 additions and 3 deletions

View File

@ -45,9 +45,9 @@ find_package(Threads REQUIRED)
list(INSERT CMAKE_MODULE_PATH 0 "${CMAKE_BINARY_DIR}") list(INSERT CMAKE_MODULE_PATH 0 "${CMAKE_BINARY_DIR}")
# stuff we get from Conan # stuff we get from Conan
FIND_PACKAGE( Boost 1.76 COMPONENTS system filesystem program_options REQUIRED ) find_package(Boost 1.76 COMPONENTS system filesystem program_options REQUIRED )
find_package(libxml2 MODULE REQUIRED) find_package(libxml2 MODULE REQUIRED)
find_package(zlib MODULE REQUIRED) find_package(ZLIB MODULE REQUIRED)
find_package(fmt MODULE REQUIRED) find_package(fmt MODULE REQUIRED)
# create a compilation database for e.g. clang-tidy # create a compilation database for e.g. clang-tidy
@ -212,7 +212,7 @@ target_link_libraries(libFBX2glTF
debug ${FBXSDK_LIBRARY_DEBUG} debug ${FBXSDK_LIBRARY_DEBUG}
fmt::fmt fmt::fmt
libxml2::libxml2 libxml2::libxml2
zlib::zlib ZLIB_LIBRARIES
${CMAKE_DL_LIBS} ${CMAKE_DL_LIBS}
${CMAKE_THREAD_LIBS_INIT} ${CMAKE_THREAD_LIBS_INIT}
) )