Commit a302c806 authored by Ghislain MARY's avatar Ghislain MARY

Add /SAFESEH:NO linker flag on Windows.

parent 26a00455
......@@ -24,4 +24,6 @@ set(EP_antlr3c_GIT_REPOSITORY "git://git.linphone.org/antlr3.git")
set(EP_antlr3c_GIT_TAG "c2a2df0abc72e0611dd068c93731b3561b7c713c") # Branch 'linphone'
set(EP_antlr3c_CMAKE_OPTIONS "-DENABLE_DEBUGGER=0")
set(EP_antlr3c_LINKING_TYPE "-DENABLE_STATIC=0")
if(MSVC)
set(EP_antlr3c_EXTRA_LDFLAGS "/SAFESEH:NO")
endif(MSVC)
......@@ -25,6 +25,9 @@ set(EP_bellesip_GIT_TAG "08b7b4c0c6aaf472bd0d448b3d8340344b207b5a") # Branch 'ma
set(EP_bellesip_CMAKE_OPTIONS )
set(EP_bellesip_LINKING_TYPE "-DENABLE_STATIC=0")
set(EP_bellesip_DEPENDENCIES EP_antlr3c EP_polarssl)
if(MSVC)
set(EP_bellesip_EXTRA_LDFLAGS "/SAFESEH:NO")
endif(MSVC)
if(${ENABLE_UNIT_TESTS})
list(APPEND EP_bellesip_DEPENDENCIES EP_cunit)
......
......@@ -24,4 +24,6 @@ set(EP_cunit_GIT_REPOSITORY "git://git.linphone.org/cunit.git")
set(EP_cunit_GIT_TAG "86562ef04d0d66c007d7822944a75f540ae37f19") # Branch 'linphone'
set(EP_cunit_CMAKE_OPTIONS "-DENABLE_AUTOMATED=0" "-DENABLE_CONSOLE=0")
set(EP_cunit_LINKING_TYPE "-DENABLE_STATIC=0")
if(MSVC)
set(EP_cunit_EXTRA_LDFLAGS "/SAFESEH:NO")
endif(MSVC)
......@@ -24,4 +24,6 @@ set(EP_gsm_GIT_REPOSITORY "git://git.linphone.org/gsm.git")
set(EP_gsm_GIT_TAG "8729c98e098341582e9c9f00e56b74f7e53e1034") # Branch 'linphone'
set(EP_gsm_PATCH_COMMAND "${CMAKE_COMMAND}" "-E" "copy" "${CMAKE_CURRENT_SOURCE_DIR}/builders/gsm/CMakeLists.txt" "<SOURCE_DIR>")
set(EP_gsm_LINKING_TYPE "-DENABLE_STATIC=0")
if(MSVC)
set(EP_gsm_EXTRA_LDFLAGS "/SAFESEH:NO")
endif(MSVC)
......@@ -26,6 +26,7 @@ set(EP_linphone_GIT_TAG "f8f17140ca0ea753bae642b3d856fb6833ae9ed1") # Branch 'ma
if(WIN32)
# Use temporary CMake build scripts for Windows. TODO: Port fully to CMake.
set(EP_linphone_DEPENDENCIES EP_bellesip EP_ortp EP_ms2 EP_xml2)
set(EP_linphone_EXTRA_LDFLAGS "/SAFESEH:NO")
else(WIN32)
set(EP_linphone_USE_AUTOTOOLS "yes")
set(EP_linphone_USE_AUTOGEN "yes")
......
......@@ -26,6 +26,7 @@ set(EP_ms2_GIT_TAG "0e6be4c7cad7ce3d3cb4feed9a6ad52439ba365e") # Branch 'master'
if(WIN32)
# Use temporary CMake build scripts for Windows. TODO: Port fully to CMake.
set(EP_ms2_DEPENDENCIES EP_ortp EP_gsm EP_opus EP_speex EP_ffmpeg EP_vpx)
set(EP_ms2_EXTRA_LDFLAGS "/SAFESEH:NO")
else(WIN32)
set(EP_ms2_USE_AUTOTOOLS "yes")
set(EP_ms2_USE_AUTOGEN "yes")
......
......@@ -26,6 +26,7 @@ set(EP_ortp_GIT_TAG "fa567138c79f52733550906122001e806ab6329d") # Branch 'master
if(WIN32)
# Use temporary CMake build scripts for Windows. TODO: Port fully to CMake.
set(EP_ortp_DEPENDENCIES EP_srtp)
set(EP_ortp_EXTRA_LDFLAGS "/SAFESEH:NO")
else(WIN32)
set(EP_ortp_USE_AUTOTOOLS "yes")
set(EP_ortp_USE_AUTOGEN "yes")
......
......@@ -23,4 +23,6 @@
set(EP_polarssl_GIT_REPOSITORY "git://git.linphone.org/polarssl.git")
set(EP_polarssl_GIT_TAG "3681900a1e0a3a8c77fc33c545cccd93977a1cf2") # Branch 'linphone'
set(EP_polarssl_LINKING_TYPE "-DUSE_SHARED_POLARSSL_LIBRARY=1")
if(MSVC)
set(EP_polarssl_EXTRA_LDFLAGS "/SAFESEH:NO")
endif(MSVC)
......@@ -23,4 +23,6 @@
set(EP_speex_GIT_REPOSITORY "git://git.linphone.org/speex.git")
set(EP_speex_GIT_TAG "302ce26e309efb1b4a4b7b6ea4807375d157258f") # Branch 'linphone'
set(EP_speex_LINKING_TYPE "-DENABLE_STATIC=0")
if(MSVC)
set(EP_speex_EXTRA_LDFLAGS "/SAFESEH:NO")
endif(MSVC)
......@@ -23,4 +23,6 @@
set(EP_srtp_GIT_REPOSITORY "git://git.linphone.org/srtp.git")
set(EP_srtp_GIT_TAG "da2ece56f18d35a12f0fee5dcb99e03ff15864de") # Branch 'master'
set(EP_srtp_LINKING_TYPE "-DENABLE_STATIC=0")
if(MSVC)
set(EP_srtp_EXTRA_LDFLAGS "/SAFESEH:NO")
endif(MSVC)
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