diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2021-09-03 12:58:03 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2021-09-03 12:59:52 (GMT) |
commit | 2636ad5045ecb413d82c5392a44460671b67916a (patch) | |
tree | 7e8d0bf479d201e48f55c6f6f791e819dca0b26d /Modules | |
parent | 31c5700d4322ecfa169db2fccf385d6eced4e737 (diff) | |
download | CMake-2636ad5045ecb413d82c5392a44460671b67916a.zip CMake-2636ad5045ecb413d82c5392a44460671b67916a.tar.gz CMake-2636ad5045ecb413d82c5392a44460671b67916a.tar.bz2 |
FindPython: Ensure homebrew on Mac M1 is used
Fixes: #22581
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindPython/Support.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindPython/Support.cmake b/Modules/FindPython/Support.cmake index 8e70e11..ce25cfc 100644 --- a/Modules/FindPython/Support.cmake +++ b/Modules/FindPython/Support.cmake @@ -98,6 +98,7 @@ macro (_PYTHON_FIND_FRAMEWORKS) ${_pff_CMAKE_FRAMEWORK_PATH} ~/Library/Frameworks /usr/local/Frameworks + /opt/homebrew/Frameworks ${CMAKE_SYSTEM_FRAMEWORK_PATH}) list (REMOVE_DUPLICATES _pff_frameworks) foreach (_pff_implementation IN LISTS _${_PYTHON_PREFIX}_FIND_IMPLEMENTATIONS) |