From 9b3790a2df9217bb79e554729bcfd935d3f0edcb Mon Sep 17 00:00:00 2001 From: David Date: Wed, 25 Jun 2025 15:33:36 +0200 Subject: [PATCH] Disable extra-qualification warnings with AppleClang --- src/vsg/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/vsg/CMakeLists.txt b/src/vsg/CMakeLists.txt index 26e87199aa..7494cde612 100644 --- a/src/vsg/CMakeLists.txt +++ b/src/vsg/CMakeLists.txt @@ -383,6 +383,11 @@ if(MSVC) target_compile_options(vsg PRIVATE "/utf-8") endif() +# disable extra-qualification warnings with AppleClang +if(CMAKE_SYSTEM_NAME STREQUAL Darwin) + target_compile_options(vsg PUBLIC "-Wno-extra-qualification") +endif() + # place header and source files into group folders to help IDE's present the files in a logical manner function(ASSIGN_SOURCE_GROUPS GROUP_NAME ROOT_FOLDER)