diff --git a/mandelbulber2/src/system.hpp b/mandelbulber2/src/system.hpp index 7c3d8d8b9..02d7084b6 100644 --- a/mandelbulber2/src/system.hpp +++ b/mandelbulber2/src/system.hpp @@ -48,9 +48,16 @@ #ifdef _WIN32 #elif __APPLE__ #define SHARED_DIR QDir::homePath() + "/share/mandelbulber2" -#define SHARED_DOC_DIR QDir::homePath() + "/share/doc/mandelbulber2" #else #define SHARED_DIR "/usr/share/mandelbulber2" +#endif +#endif + +#ifndef SHARED_DOC_DIR +#ifdef _WIN32 +#elif __APPLE__ +#define SHARED_DOC_DIR QDir::homePath() + "/share/doc/mandelbulber2" +#else #define SHARED_DOC_DIR "/usr/share/doc/mandelbulber2" #endif #endif