macOS build fixes suggestions take 2

Suggestion for resolving
CMakeLists.txt , macosx_bundle.sh , executable_loader.in
Please review + double-check on macOS
This commit is contained in:
ion12
2017-04-18 00:26:28 +01:00
parent 68271a513b
commit c562385f15
3 changed files with 23 additions and 9 deletions

View File

@@ -41,7 +41,9 @@ export RT_CACHE="${HOME}/Library/Application Support/RawTherapee/cache"
case "$1" in
-psn_*) shift ;;
esac
if [[ -d "/tmp/RawTherapee.app" ]]; then
rm -rf "/tmp/RawTherapee.app"
fi
ln -sf "${app}" /tmp
exec "${cwd}/rawtherapee-bin" "$@"