diff --git a/ios.toolchain.cmake b/ios.toolchain.cmake index e47638e..2c98dcf 100644 --- a/ios.toolchain.cmake +++ b/ios.toolchain.cmake @@ -1026,7 +1026,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.