File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,10 +109,13 @@ if(BUNDLE_WOWS_GEOMETRY)
109109 set (WOWS_ME_DIR ${CMAKE_CURRENT_SOURCE_DIR } /deps/wows-model-exporter)
110110 file (GLOB WOWS_ME_SOURCES ${WOWS_ME_DIR} /lib/*.c ${WOWS_ME_DIR} /lib/*.cpp )
111111
112+ add_subdirectory (${WOWS_ME_DIR} /deps/fmem EXCLUDE_FROM_ALL )
113+
112114 add_library (wows-geometry-static STATIC ${WOWS_ME_SOURCES} )
113115 target_include_directories (wows-geometry-static PUBLIC
114116 ${WOWS_ME_DIR} /inc
115117 ${WOWS_ME_DIR} /deps
118+ ${WOWS_ME_DIR} /deps/compat
116119 ${_WOWS_DEPACK_INC}
117120 ${Python3_INCLUDE_DIRS}
118121 )
@@ -124,6 +127,7 @@ if(BUNDLE_WOWS_GEOMETRY)
124127 ${_WOWS_DEPACK_LINK}
125128 ${PCRE2_LIBRARY}
126129 )
130+ target_link_libraries (wows-geometry-static PRIVATE fmem::fmem )
127131 if (TINYGLTF_LIBRARY)
128132 target_link_libraries (wows-geometry-static PUBLIC ${TINYGLTF_LIBRARY} )
129133 else ()
You can’t perform that action at this time.
0 commit comments