diff --git a/CMakeLists.txt b/CMakeLists.txt index 5547d48..c86c909 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,7 +47,7 @@ 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(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_LIBRARIES + zlib::zlib ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT} )