aboutsummaryrefslogtreecommitdiff
path: root/ports/fann/fix-uwp-build.patch
blob: dd42358bd4d38b27eb7783ab7352209ced826dca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b91f6fb..22c39d7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,6 +22,10 @@ SET(PKGCONFIG_INSTALL_DIR /lib/pkgconfig)
 
 INSTALL_FILES( ${PKGCONFIG_INSTALL_DIR} FILES  fann.pc )
 
+if (MSVC)
+    add_compile_options(/wd4996)
+endif()
+
 ADD_SUBDIRECTORY( src ) 
 
 ################# cpack ################