pineapple-src/externals/vcpkg/ports/libxml2/fix-uwp.patch
2022-07-23 03:01:36 +02:00

12 lines
320 B
Diff
Executable file

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f922d5ab..6eb0a7fb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -134,6 +134,7 @@ endif()
if(MSVC)
configure_file(include/win32config.h config.h COPYONLY)
+ add_compile_options(/wd4996)
else()
check_c_source_compiles("
void __attribute__((destructor))