Commit 2afed171 authored by Ghislain MARY's avatar Ghislain MARY

Temporary fix: duplicate libxml2 on Windows to fix libsoup.

parent bc8c9912
......@@ -112,6 +112,14 @@ if(WIN32)
add_custom_target(linphone_winshortcut ALL DEPENDS "${SHORTCUT_PATH}" TARGET_linphone)
endif()
# Temporary fix for the xml2 library needed by libsoup on Windows
if(WIN32)
add_custom_command(OUTPUT "${CMAKE_INSTALL_PREFIX}/bin/xml2.dll"
COMMAND "${CMAKE_COMMAND}" "-E" "copy" "${CMAKE_INSTALL_PREFIX}/bin/xml2.dll" "${CMAKE_INSTALL_PREFIX}/bin/libxml2.dll"
)
add_custom_target(libxml2_copy ALL DEPENDS "${CMAKE_INSTALL_PREFIX}/bin/xml2.dll" TARGET_linphone)
endif()
# Packaging
linphone_builder_apply_flags()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment