Skip to content

Commit 74eaa8a

Browse files
committed
Enable iconf.
1 parent d6023e6 commit 74eaa8a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,10 @@ if (NOT MSVC)
205205
)
206206
endif()
207207

208+
if (APPLE)
209+
set(ICONV_MAC_LIB libiconv)
210+
endif()
211+
208212
target_link_libraries(libFBX2glTF
209213
${FRAMEWORKS}
210214
${DRACO_LIB}
@@ -216,6 +220,7 @@ target_link_libraries(libFBX2glTF
216220
ZLIB::ZLIB
217221
Iconv::Iconv
218222
LibXml2::LibXml2
223+
${ICONV_MAC_LIB}
219224
${CMAKE_DL_LIBS}
220225
${CMAKE_THREAD_LIBS_INIT}
221226
)

0 commit comments

Comments
 (0)