mac: set config path in options.cc

This commit is contained in:
Richard Barber
2020-02-16 20:21:07 -08:00
parent 8b1438f23d
commit d8d96784a4
3 changed files with 10 additions and 5 deletions

View File

@@ -30,13 +30,13 @@
<string>similar</string>
<key>GTK_OVERLAY_SCROLLING</key>
<string>0</string>
<key>RT_SETTINGS</key>
<string>~/Library/Application Support/RawTherapee/config</string>
<key>RT_CACHE</key>
<string>~/Library/Application Support/RawTherapee/cache</string>
</dict>
<key>ATSApplicationFontsPath</key>
<string>etc/fonts</string>
<key>LSMultipleInstancesProhibited</key>
<true/>
<key>LSMinimumSystemVersion</key>
<string>@minimum_macos_version@</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDisplayName</key>

View File

@@ -104,6 +104,7 @@ GTK_PREFIX: ${GTK_PREFIX}
PWD: ${PWD}
__EOS__
minimum_macos_version=${MINIMUM_SYSTEM_VERSION}
LOCAL_PREFIX="$(cmake .. -LA -N | grep "LOCAL_PREFIX" | cut -d "=" -f2)"
EXPATLIB="$(cmake .. -LA -N | grep "pkgcfg_lib_EXPAT_expat" | cut -d "=" -f2)"