Skip to content

Commit 050de3e

Browse files
committed
Restore zlib.
1 parent 5da89cd commit 050de3e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ find_package(Threads REQUIRED)
4545
list(INSERT CMAKE_MODULE_PATH 0 "${CMAKE_BINARY_DIR}")
4646

4747
# stuff we get from Conan
48-
FIND_PACKAGE( Boost 1.76 COMPONENTS system filesystem program_options REQUIRED )
48+
find_package(Boost 1.76 COMPONENTS system filesystem program_options REQUIRED )
4949
find_package(libxml2 MODULE REQUIRED)
50-
find_package(zlib MODULE REQUIRED)
50+
find_package(ZLIB MODULE REQUIRED)
5151
find_package(fmt MODULE REQUIRED)
5252

5353
# create a compilation database for e.g. clang-tidy
@@ -212,7 +212,7 @@ target_link_libraries(libFBX2glTF
212212
debug ${FBXSDK_LIBRARY_DEBUG}
213213
fmt::fmt
214214
libxml2::libxml2
215-
zlib::zlib
215+
ZLIB_LIBRARIES
216216
${CMAKE_DL_LIBS}
217217
${CMAKE_THREAD_LIBS_INIT}
218218
)

0 commit comments

Comments
 (0)