mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 00:38:59 +08:00
15 lines
524 B
Diff
15 lines
524 B
Diff
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
|
|
index 2043294..e273393 100644
|
|
--- a/lib/CMakeLists.txt
|
|
+++ b/lib/CMakeLists.txt
|
|
@@ -61,6 +61,9 @@ if(MSVC)
|
|
list(APPEND VORBIS_SOURCES ../win32/vorbis.def)
|
|
list(APPEND VORBISENC_SOURCES ../win32/vorbisenc.def)
|
|
list(APPEND VORBISFILE_SOURCES ../win32/vorbisfile.def)
|
|
+ add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
|
+ add_definitions(-D_CRT_SECURE_NO_DEPRECATE)
|
|
+ add_definitions(-D_CRT_NONSTDC_NO_DEPRECATE)
|
|
endif()
|
|
|
|
include_directories(../include)
|