mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 12:19:00 +08:00
eb9cb29166
* [ffmpeg/opencv4] Update opencv4 feature dependency and remove ffmpeg feature 'postproc' from default feature * Update the baseline version * [opencv3] Update the feature dependency * Update the baseline * [opencv2] Update the feature dependency * Update the baseline version * Fix uwp build failures * Update the baseline version * Fix opencv2 version * update the baseline version * update the baseline version * Un-edit git-tree. * Update cuda feature * Update the baseline Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
16 lines
467 B
Diff
16 lines
467 B
Diff
diff --git a/modules/imgcodecs/CMakeLists.txt b/modules/imgcodecs/CMakeLists.txt
|
|
index 24f89e6..435deb6 100644
|
|
--- a/modules/imgcodecs/CMakeLists.txt
|
|
+++ b/modules/imgcodecs/CMakeLists.txt
|
|
@@ -9,6 +9,10 @@ ocv_add_module(imgcodecs opencv_imgproc WRAP java objc python)
|
|
|
|
ocv_clear_vars(GRFMT_LIBS)
|
|
|
|
+if(MSVC)
|
|
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4996")
|
|
+endif()
|
|
+
|
|
if(HAVE_WINRT_CX AND NOT WINRT)
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /ZW")
|
|
endif()
|