From f0bfc799e49fc18f6bd47707bc581a484d97d9ae Mon Sep 17 00:00:00 2001 From: "K. S. Ernest (iFire) Lee" Date: Wed, 17 Nov 2021 08:40:00 -0800 Subject: [PATCH] Try again for LibXml2. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1984bf6..47cb17a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,6 +49,7 @@ find_package(Boost 1.76 COMPONENTS system filesystem program_options REQUIRED ) find_package(ZLIB MODULE REQUIRED) find_package(fmt MODULE REQUIRED) find_package(Iconv MODULE REQUIRED) +find_package(LibXml2 MODULE REQUIRED) # create a compilation database for e.g. clang-tidy set(CMAKE_EXPORT_COMPILE_COMMANDS ON) @@ -214,6 +215,7 @@ target_link_libraries(libFBX2glTF fmt::fmt ZLIB::ZLIB Iconv::Iconv + LibXml2::LibXml2 ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT} )