From 4f879e341f075f4bfb317b1b862352f03d19a8b0 Mon Sep 17 00:00:00 2001 From: Kem Chen Date: Wed, 2 Aug 2023 14:50:10 +0800 Subject: [PATCH] Add homebrew path to ignore path --- ios.toolchain.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.