Remove a Windows definition set inside Unix target

This commit is contained in:
Axel Isouard 2017-02-12 13:47:25 +01:00
parent 91ab805302
commit f25382438d
No known key found for this signature in database
GPG key ID: 4E64BB3EAAF31C29

View file

@ -75,8 +75,7 @@ if (UNIX)
list(APPEND LIBWEBRTC_REQUIRED_CXX_FLAGS "-pthread") list(APPEND LIBWEBRTC_REQUIRED_CXX_FLAGS "-pthread")
endif() endif()
list(APPEND LIBWEBRTC_DEFINITIONS list(APPEND LIBWEBRTC_DEFINITIONS WEBRTC_POSIX _GLIBCXX_USE_CXX11_ABI=0)
WEBRTC_POSIX _GLIBCXX_USE_CXX11_ABI=0 _CRT_SECURE_NO_WARNINGS)
elseif (WIN32) elseif (WIN32)
set(LIBWEBRTC_REQUIRED_C_FLAGS_DEBUG "/MTd") set(LIBWEBRTC_REQUIRED_C_FLAGS_DEBUG "/MTd")
set(LIBWEBRTC_REQUIRED_C_FLAGS_RELEASE "/MT") set(LIBWEBRTC_REQUIRED_C_FLAGS_RELEASE "/MT")