mac:export non-relative paths to config.h

This commit is contained in:
Richard Barber
2020-02-20 01:17:49 -08:00
parent a78c4b99df
commit 9bc078c5bb
4 changed files with 26 additions and 15 deletions

View File

@@ -22,10 +22,19 @@
#cmakedefine BUILD_BUNDLE
#cmakedefine HAVE_UNALIGNED_MALLOC
#ifdef __APPLE__
#define DATA_SEARCH_PATH "/Applications/RawTherapee.com/Contents/Resources/share"
#define DOC_SEARCH_PATH "/Applications/RawTherapee.com/Contents/Resources"
#define CREDITS_SEARCH_PATH "/Applications/RawTherapee.com/Contents/Resources"
#define LICENCE_SEARCH_PATH "/Applications/RawTherapee.com/Contents/Resources"
#define LENSFUN_DB_PATH "${LENSFUNDBDIR}"
#else
#define DATA_SEARCH_PATH "${DATADIR}"
#define DOC_SEARCH_PATH "${DOCDIR}"
#define CREDITS_SEARCH_PATH "${CREDITSDIR}"
#define LICENCE_SEARCH_PATH "${LICENCEDIR}"
#define LENSFUN_DB_PATH "${LENSFUNDBDIR}"
#endif
#endif