[3RDPARTY] Make some warnings non-fatal
[reactos.git] / dll / win32 / crypt32 / CMakeLists.txt
index e53c2f9..b00ef45 100644 (file)
@@ -10,6 +10,11 @@ add_definitions(
 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
 spec2def(crypt32.dll crypt32.spec ADD_IMPORTLIB)
 
+if(MSVC)
+    # error C4312: 'type cast': conversion from 'unsigned int' to 'void *' of greater size
+    replace_compile_flags("/we4312" " ")
+endif()
+
 list(APPEND SOURCE
     base64.c
     cert.c