mac:export non-relative paths to config.h
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user