File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,12 @@ target_include_directories(libFBX2glTF PUBLIC
145145 ${CMAKE_CURRENT_SOURCE_DIR} /thirdparty
146146)
147147
148+ # Missing:
149+ if (MSVC )
150+ target_compile_definitions (libFBX2glTF PRIVATE LIBXML_STATIC )
151+ target_compile_definitions (appFBX2glTF PRIVATE LIBXML_STATIC )
152+ endif ()
153+
148154target_include_directories (libFBX2glTF SYSTEM PUBLIC
149155 ${FBXSDK_INCLUDE_DIR}
150156 ${draco_INCLUDE_DIRS}
Original file line number Diff line number Diff line change 1616#define NOMINMAX
1717// Prevent Windows from defining CopyFile macro
1818#define WIN32_LEAN_AND_MEAN
19+ #define LIBXML_STATIC
1920#include < Windows.h>
2021// Undefine problematic Windows macros after inclusion
2122#ifdef CopyFile
Original file line number Diff line number Diff line change 99 " stb" ,
1010 " zlib" ,
1111 " cli11"
12- ],
13- "overrides" : [
14- {
15- "name" : " libxml2" ,
16- "version" : " 2.11.5"
17- }
1812 ]
1913}
You can’t perform that action at this time.
0 commit comments