diff --git a/ShellB3/shallbethree.sh b/ShellB3/shallbethree.sh index 40aac131e827010784e72a8c6212e1504db8d622..de33c9b1b7be254a6180fc130b26f8f99904f3aa 100755 --- a/ShellB3/shallbethree.sh +++ b/ShellB3/shallbethree.sh @@ -8105,6 +8105,10 @@ PATCH if isLinux ; then qt5_install_fonts + elif isDarwin ; then + #fix cmake framework paths to have full version + ( find ${BASE}/lib/cmake/ -print0 -type f -name "Qt5*.cmake" | xargs -0 sed -i.old -e s,Versions/5/,Versions/$( python3 -c "import sys,os; print(os.environ['QT5USEVER'].split('-')[-1])" )/,g \ + && find ${BASE}/lib/cmake/ -print0 -type f -name "Qt5*.cmake.old" | xargs -0 rm -f ) || oops "Failed to patch cmake files" fi qt5_repath