From f325d5a70aa1258a060743af9d98bc649bda84ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=BCrmann?= Date: Tue, 30 Jul 2024 21:00:37 +0200 Subject: [PATCH] Disable warning in lib/apple code This is a backport of a 2.5 PR https://github.com/mixxxdj/mixxx/pull/11905 --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 801a7b2d743..eeabedbbc98 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3036,6 +3036,11 @@ if(COREAUDIO) src/sources/v1/legacyaudiosourceadapter.cpp lib/apple/CAStreamBasicDescription.cpp ) + set_property( + SOURCE lib/apple/CAStreamBasicDescription.cpp + APPEND_STRING + PROPERTY COMPILE_OPTIONS -Wno-deprecated-anon-enum-enum-conversion + ) target_compile_definitions(mixxx-lib PUBLIC __COREAUDIO__) target_include_directories(mixxx-lib SYSTEM PUBLIC lib/apple) endif()