forked from qt-creator/qt-creator
CMake: Detect cmake from ARM homebrew on macOS
Change-Id: I67c539c9e9a42de086df9e0c12fa4e661494e121 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -61,8 +61,9 @@ static std::vector<std::unique_ptr<CMakeTool>> autoDetectCMakeTools()
|
|||||||
|
|
||||||
if (HostOsInfo::isMacHost()) {
|
if (HostOsInfo::isMacHost()) {
|
||||||
path.append("/Applications/CMake.app/Contents/bin");
|
path.append("/Applications/CMake.app/Contents/bin");
|
||||||
path.append("/usr/local/bin");
|
path.append("/usr/local/bin"); // homebrew intel
|
||||||
path.append("/opt/local/bin");
|
path.append("/opt/homebrew/bin"); // homebrew arm
|
||||||
|
path.append("/opt/local/bin"); // macports
|
||||||
}
|
}
|
||||||
|
|
||||||
const QStringList execs = env.appendExeExtensions(QLatin1String("cmake"));
|
const QStringList execs = env.appendExeExtensions(QLatin1String("cmake"));
|
||||||
|
Reference in New Issue
Block a user