From cbd28db64b6a53d6c315e374134f2e24a5fd241c Mon Sep 17 00:00:00 2001 From: Frank Barchard Date: Tue, 1 Aug 2023 12:09:48 -0700 Subject: [PATCH] CMake remove clang specific build options that break Visual Studio builds Bug: libyuv:964 Change-Id: I4ac91bcaf6c7d6588a4f00e8ca3f8db04216724b Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/4739819 Commit-Queue: Mirko Bonadei Reviewed-by: Mirko Bonadei Reviewed-by: Frank Barchard Commit-Queue: Frank Barchard --- CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6f3729497..7a4a19948 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,12 +29,6 @@ endif() # this creates the static library (.a) ADD_LIBRARY ( ${ly_lib_static} STATIC ${ly_source_files} ) -target_compile_options(${ly_lib_static} PRIVATE - -Wno-sign-compare - -Wno-unused-function - -Wunused-variable - -Wuninitialized) - # this creates the shared library (.so) ADD_LIBRARY ( ${ly_lib_shared} SHARED ${ly_source_files} ) SET_TARGET_PROPERTIES ( ${ly_lib_shared} PROPERTIES OUTPUT_NAME "${ly_lib_name}" )