Commit e6c8a26c authored by Ghislain MARY's avatar Ghislain MARY

Fix compilation of bzrtp with MinGW when tests are enabled.

parent f54209ba
......@@ -35,6 +35,10 @@ set(EP_bzrtp_CROSS_COMPILATION_OPTIONS
set(EP_bzrtp_LINKING_TYPE "--disable-static" "--enable-shared")
set(EP_bzrtp_DEPENDENCIES EP_polarssl EP_xml2)
if(MINGW)
set(EP_bzrtp_EXTRA_CPPFLAGS "-D__USE_MINGW_ANSI_STDIO")
endif()
if(${ENABLE_UNIT_TESTS})
list(APPEND EP_bzrtp_DEPENDENCIES EP_cunit)
else()
......
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