mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-13 16:10:08 +08:00
1d6e1be7ac
* [ffmpeg] use ffbuild/config.mak to get dependencies * [ffmpeg] bump port version * [ffmpeg] x-add-version * [ffmpeg] fix dependency issue on x64-linux * [ffmpeg] x-add-version * [ffmpeg] link order fix on linux * [ffmpeg] x-add-version * [ffmpeg] bump port version * [ffmpeg] x-add-version * [ffmpeg] exclude -lgcc and -lgcc_s (causes issues on azure for unknown reasons) * [ffmpeg] x-add-version * [ffmpeg] handle -lgcc and -lgcc_s appropriately * [ffmpeg] x-add-version * [ffmpeg] use x_vcpkg_pkgconfig_get_modules to get info, added some more fixes to generated for pkgconfig files * [ffmpeg] report dependencies (for now, helps debugging) * [vcpkg-pkgconfig-get-modules] bump port version * [ffmpeg] [vcpkg-pkgconfig-get-modules] x-add-version * [ffmpeg] fix variant issue * [ffmpeg] x-add-version * [ffmpeg] reformat manifest * [ffmpeg] x-add-version * [ffmpeg] remove duplicate avfilter library from dependencies * [ffmpeg] fix -pthread / -pthreads on linux * [ffmpeg] x-add-version * [ffmpeg] fix dynamic builds when no libraries need to be linked * [ffmpeg] x-add-version * [ffmpeg] disable openh264 on uwp when building all * [ffmpeg] x-add-version * [avcpp] fix uwp build failure due to deprecations treated as errors * [avcpp] bump port version * [avcpp] x-add-version * [avcpp] smaller patch * [avcpp] x-add-version * [ffmpeg] x-add-version
17 lines
420 B
Diff
17 lines
420 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index a5fed05..7875b91 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -24,6 +24,11 @@ set (AVCPP_WARNING_OPTIONS
|
|
$<$<CXX_COMPILER_ID:MSVC>:
|
|
/W4>)
|
|
|
|
+# fixes vcpkg uwp failures due to /sdl
|
|
+if(MSVC)
|
|
+ add_compile_options(/wd4996)
|
|
+endif()
|
|
+
|
|
# -pthread sets also some useful compile-time flags
|
|
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
|
find_package(Threads)
|