Commit 31ffbc3f authored by TJ Corona's avatar TJ Corona

shiboken: add flag to ignore deprecation warning

parent aaa6e876
diff -NrU5 shiboken/CMakeLists.txt shiboken-patched/CMakeLists.txt
--- shiboken/CMakeLists.txt 2016-06-02 14:57:59.000000000 -0400
+++ shiboken-patched/CMakeLists.txt 2016-12-09 10:19:29.000000000 -0500
@@ -46,11 +46,11 @@
endif()
file(TO_CMAKE_PATH "${PYTHON_SITE_PACKAGES}" PYTHON_SITE_PACKAGES)
endif()
if(MSVC)
- set(CMAKE_CXX_FLAGS "/Zc:wchar_t- /GR /EHsc /DWIN32 /D_WINDOWS /D_SCL_SECURE_NO_WARNINGS")
+ set(CMAKE_CXX_FLAGS "/Zc:wchar_t- /GR /EHsc /DWIN32 /D_WINDOWS /D_SCL_SECURE_NO_WARNINGS /D_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS")
else()
if(CMAKE_HOST_UNIX AND NOT CYGWIN)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -fvisibility=hidden -Wno-strict-aliasing")
endif()
set(CMAKE_CXX_FLAGS_DEBUG "-g")
include("${CMAKE_CURRENT_LIST_DIR}/../shiboken.cmake")
superbuild_apply_patch(shiboken VC2015
"Add flag to ignore deprecation warnings for VC2015.")
\ No newline at end of file
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