diff options
Diffstat (limited to 'sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp')
| -rw-r--r-- | sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp b/sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp index 9f28402cd..4eb1a9ee8 100644 --- a/sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp +++ b/sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp @@ -299,8 +299,8 @@ static QString compilerFromCMake(const QString &defaultCompiler) return compilerPath(); // Added !defined(Q_OS_DARWIN) due to PYSIDE-1032 QString result = defaultCompiler; - if (platform() != Platform::macOS) #ifdef CMAKE_CXX_COMPILER + if (platform() != Platform::macOS) result = QString::fromLocal8Bit(CMAKE_CXX_COMPILER); #endif return result; |
