vcpkg/ports/azure-kinect-sensor-sdk/disable-c4275.patch
Jack·Boos·Yu 8cbae02ab2 [azure-kinect-sensor-sdk] Add new port (#8786)
* [azure-kinect-sensor-sdk]Add new port

* [azure-kinect-sensor-sdk]Disable git command.

* [azure-kinect-sensor-sdk]Disable source link.

* [azure-kinect-sensor-sdk]Fix build error 4275 in Windows.
2019-12-23 15:59:34 -08:00

14 lines
398 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e36009e..58a092e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -117,7 +117,7 @@ endif()
# add jpeg-turbo library to jpeg libraries.
set(JPEG_LIBRARIES ${JPEG_LIBRARIES} ${JPEG_TURBO})
# Fix embl error
-add_compile_options(/wd4828 /wd4251)
+add_compile_options(/wd4828 /wd4251 /wd4275)
# Find all dependencies
add_subdirectory(extern)