From e330f659c47de880493f9bfd4ba2a000196d00bc Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 11 Feb 2022 14:41:53 +0100 Subject: shiboken6: Move Vulkan detection out of the emulated compiler options Task-number: PYSIDE-1812 Change-Id: I304d0c437cda114a865828578dca320c0d2fe45f Reviewed-by: Alexandru Croitor --- sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp') diff --git a/sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp b/sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp index 8100cab77..9282fc28b 100644 --- a/sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp +++ b/sources/shiboken6/ApiExtractor/clangparser/clangparser.cpp @@ -281,6 +281,7 @@ static CXTranslationUnit createTranslationUnit(CXIndex index, clangArgs += emulatedCompilerOptions(); clangArgs += defaultArgs; } + clangArgs += detectVulkan(); clangArgs += args; QScopedArrayPointer argv(byteArrayListToFlatArgV(clangArgs)); qDebug().noquote().nospace() << msgCreateTranslationUnit(clangArgs, flags); -- cgit v1.2.3