mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 00:29:56 +08:00
65c66cd748
* [capstone] update to 5.0.0 alpha * [triton] upgrade to support capstone 5 * [triton] fix incorrect library linkage * [triton] bump port version * [capstone] Silence CRT Secure Function warning * [capstone] update to 5.0.0-rc2 Co-authored-by: MACHIZAUD Andréa <andrea.machizaud@adobe.com>
16 lines
376 B
Diff
16 lines
376 B
Diff
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
|