From b388739a0c69886f395d6b000668de903dce0a5e Mon Sep 17 00:00:00 2001 From: akallabeth Date: Tue, 17 Sep 2024 12:07:48 +0200 Subject: [PATCH] [build,mac] fix ignore paths Use CMAKE_IGNORE_PREFIX_PATH to ignore macports/homebrew/... libraries when building a mac os bundle --- scripts/bundle-mac-os.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/bundle-mac-os.sh b/scripts/bundle-mac-os.sh index 6a39fbee0..5d7c69e25 100755 --- a/scripts/bundle-mac-os.sh +++ b/scripts/bundle-mac-os.sh @@ -137,6 +137,7 @@ CMAKE_ARGS="-DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON \ -DINSTALL_BIN_DIR='$INSTALL/bin' \ -DCMAKE_PREFIX_PATH='$INSTALL;$INSTALL/lib;$INSTALL/lib/cmake' \ -DCMAKE_IGNORE_PATH='/opt/local;/usr/local;/opt/homebrew;/Library;~/Library' + -DCMAKE_IGNORE_PREFIX_PATH='/opt/local;/usr/local;/opt/homebrew;/Library;~/Library' " if [ ! -d $SRC ];