From 4c0123f39ad5c3713e16da6138b133c36f70ba50 Mon Sep 17 00:00:00 2001 From: Fuzzbawls Date: Fri, 8 Oct 2021 01:15:05 -0700 Subject: [PATCH] CMake: Add Apple Silicon homebrew Qt bin path to MOC search paths --- src/qt/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/CMakeLists.txt b/src/qt/CMakeLists.txt index bd2e0ac3b05c1..f5eb742dfe3f3 100644 --- a/src/qt/CMakeLists.txt +++ b/src/qt/CMakeLists.txt @@ -50,7 +50,7 @@ if (QRCODE_FOUND) endif() find_program(MOC_BIN NAMES moc moc-qt5 qt5-moc - PATHS /usr/lib/qt5/bin /usr/lib/x86_64-linux-gnu/qt5/bin /usr/local/opt/qt/bin /usr/local/opt/qt5/bin + PATHS /usr/lib/qt5/bin /usr/lib/x86_64-linux-gnu/qt5/bin /usr/local/opt/qt/bin /usr/local/opt/qt5/bin /opt/homebrew/opt/qt5/bin NO_DEFAULT_PATH NO_SYSTEM_ENVIRONMENT_PATH) if (MOC_BIN)