Commit f8ad758d authored by Ghislain MARY's avatar Ghislain MARY

Build bzrtp with CMake.

parent 2923c38d
......@@ -26,21 +26,19 @@ if(${LINPHONE_BUILDER_LATEST})
else()
set(EP_bzrtp_GIT_TAG "8ceda7ef0d35130057affc2e5a61c0667cde15aa")
endif()
set(EP_bzrtp_BUILD_METHOD "autotools")
set(EP_bzrtp_USE_AUTOGEN "yes")
set(EP_bzrtp_CROSS_COMPILATION_OPTIONS
"--prefix=${CMAKE_INSTALL_PREFIX}"
"--host=${LINPHONE_BUILDER_HOST}"
)
set(EP_bzrtp_LINKING_TYPE "--disable-static" "--enable-shared")
set(EP_bzrtp_CMAKE_OPTIONS )
set(EP_bzrtp_LINKING_TYPE "-DENABLE_STATIC=0")
set(EP_bzrtp_DEPENDENCIES EP_polarssl EP_xml2)
if(MSVC)
set(EP_bzrtp_EXTRA_LDFLAGS "/SAFESEH:NO")
endif(MSVC)
if(MINGW)
set(EP_bzrtp_EXTRA_CPPFLAGS "-D__USE_MINGW_ANSI_STDIO")
endif()
if(${ENABLE_UNIT_TESTS})
list(APPEND EP_bzrtp_CMAKE_OPTIONS "-DENABLE_TESTS=1")
list(APPEND EP_bzrtp_DEPENDENCIES EP_cunit)
else()
list(APPEND EP_bzrtp_CONFIGURE_OPTIONS "--disable-tests")
list(APPEND EP_bzrtp_CMAKE_OPTIONS "-DENABLE_TESTS=0")
endif()
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