From 8f574b45e14ec267179de8e4e4b3e145eb98bf9c Mon Sep 17 00:00:00 2001 From: Tres Finocchiaro Date: Thu, 23 May 2024 00:55:44 -0400 Subject: [PATCH] Use home for now --- cmake/modules/DetectMachine.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/DetectMachine.cmake b/cmake/modules/DetectMachine.cmake index 19de4f80557..0a1bc821fbf 100644 --- a/cmake/modules/DetectMachine.cmake +++ b/cmake/modules/DetectMachine.cmake @@ -163,7 +163,7 @@ IF(LMMS_BUILD_APPLE) # Detect cross-compilation. "wrongbrew" is a custom wrapper for homebrew IF((CMAKE_APPLE_SILICON_PROCESSOR STREQUAL "x86_64" AND NOT LMMS_HOST_X86_64) OR (CMAKE_APPLE_SILICON_PROCESSOR STREQUAL "arm64" AND NOT LMMS_HOST_ARM64)) - EXECUTE_PROCESS(COMMAND wrongbrew --prefix RESULT_VARIABLE DETECT_WRONGBREW OUTPUT_VARIABLE WRONGBREW_PREFIX ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE) + EXECUTE_PROCESS(COMMAND "$ENV{HOME}/wrongbrew.sh" --prefix RESULT_VARIABLE DETECT_WRONGBREW OUTPUT_VARIABLE WRONGBREW_PREFIX ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE) ENDIF() # Detect Homebrew versus Macports environment