early-access version 2853
This commit is contained in:
15
externals/vcpkg/ports/capstone/001-silence-windows-crt-secure-warnings.patch
vendored
Executable file
15
externals/vcpkg/ports/capstone/001-silence-windows-crt-secure-warnings.patch
vendored
Executable file
@@ -0,0 +1,15 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index f5f4448..5e5cc7e 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -87,6 +87,10 @@ if(CAPSTONE_BUILD_STATIC_RUNTIME)
|
||||
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
||||
endif()
|
||||
|
||||
+if(WIN32)
|
||||
+ add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
|
||||
+endif()
|
||||
+
|
||||
## sources
|
||||
set(SOURCES_ENGINE
|
||||
cs.c
|
||||
Reference in New Issue
Block a user