Skip to content

Commit

Permalink
Fix wrongbrew detection 2
Browse files Browse the repository at this point in the history
  • Loading branch information
tresf committed May 25, 2024
1 parent fa6fc8a commit 858a007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/DetectMachine.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ IF(LMMS_BUILD_APPLE)
IF(CMAKE_APPLE_SILICON_PROCESSOR MATCHES "x86_64" OR CMAKE_OSX_ARCHITECTURES MATCHES "arm64")
EXECUTE_PROCESS(COMMAND wrongbrew --prefix RESULT_VARIABLE DETECT_WRONGBREW OUTPUT_VARIABLE WRONGBREW_PREFIX ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
# Fallback to $HOME/wrongbrew.sh
IF(DETECT_WRONGBREW EQUAL 0)
IF(NOT DETECT_WRONGBREW EQUAL 0)
EXECUTE_PROCESS(COMMAND "$ENV{HOME}/wrongbrew.sh" --prefix RESULT_VARIABLE DETECT_WRONGBREW OUTPUT_VARIABLE WRONGBREW_PREFIX ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
ENDIF()
ENDIF()
Expand Down

0 comments on commit 858a007

Please sign in to comment.