mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 14:39:00 +08:00
13 lines
321 B
Diff
13 lines
321 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index 9b45d62..ba8bfec 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -129,6 +129,7 @@ endif()
|
||
|
|
||
|
if(MSVC)
|
||
|
configure_file(include/win32config.h config.h COPYONLY)
|
||
|
+ add_compile_options(/wd4996)
|
||
|
else()
|
||
|
check_c_source_compiles("
|
||
|
void __attribute__((destructor))
|