From 050de3ee8d229d5c62cdd5cc7f76207c8e9d984c Mon Sep 17 00:00:00 2001 From: "K. S. Ernest (iFire) Lee" Date: Sun, 6 Jun 2021 23:05:13 -0700 Subject: [PATCH] Restore zlib. --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 52edc90..5547d48 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,9 +45,9 @@ find_package(Threads REQUIRED) list(INSERT CMAKE_MODULE_PATH 0 "${CMAKE_BINARY_DIR}") # 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(zlib MODULE REQUIRED) +find_package(ZLIB MODULE REQUIRED) find_package(fmt MODULE REQUIRED) # create a compilation database for e.g. clang-tidy @@ -212,7 +212,7 @@ target_link_libraries(libFBX2glTF debug ${FBXSDK_LIBRARY_DEBUG} fmt::fmt libxml2::libxml2 - zlib::zlib + ZLIB_LIBRARIES ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT} )