diff --git a/ios.toolchain.cmake b/ios.toolchain.cmake index ffd432d..44a6fa5 100644 --- a/ios.toolchain.cmake +++ b/ios.toolchain.cmake @@ -1032,7 +1032,7 @@ set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-install_name") # Note: CMAKE_FIND_ROOT_PATH is only useful when cross-compiling. Thus, do not set on macOS builds. if(NOT PLATFORM_INT MATCHES "^MAC.*$") list(APPEND CMAKE_FIND_ROOT_PATH "${CMAKE_OSX_SYSROOT_INT}" CACHE INTERNAL "") - set(CMAKE_IGNORE_PATH "/System/Library/Frameworks;/usr/local/lib" CACHE INTERNAL "") + set(CMAKE_IGNORE_PATH "/System/Library/Frameworks;/usr/local/lib;/opt/homebrew" CACHE INTERNAL "") endif() # Default to searching for frameworks first.