aboutsummaryrefslogtreecommitdiff
path: root/ports/libxml2/fix-uwp.patch
blob: ce57a9ed1237c4ba86ca55c16c9c956a77eeea45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9b45d62..ba8bfec 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -129,6 +129,7 @@ endif()
 
 if(MSVC)
 	configure_file(include/win32config.h config.h COPYONLY)
+    add_compile_options(/wd4996)
 else()
 	check_c_source_compiles("
 		void __attribute__((destructor))