[build,mac] fix ignore paths

Use CMAKE_IGNORE_PREFIX_PATH to ignore macports/homebrew/... libraries
when building a mac os bundle
This commit is contained in:
akallabeth 2024-09-17 12:07:48 +02:00
parent 328b7433a4
commit b388739a0c
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5
1 changed files with 1 additions and 0 deletions

View File

@ -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 ];