Only set LINUX_DEFAULT_PATH in Licensee.h if not already set

allows setting it from the build system - I think OpenBSD at least
used to use this.
This commit is contained in:
Daniel Gibson 2018-12-09 04:12:22 +01:00
parent 807b329fb7
commit bca648709f

View file

@ -97,7 +97,9 @@ If you have questions concerning this license or the applicable additional terms
#define WIN32_CONSOLE_CLASS "dhewm 3 WinConsole"
// Linux info
#ifndef LINUX_DEFAULT_PATH // allow overriding it from the build system with -DLINUX_DEFAULT_PATH="/bla/foo/whatever"
#define LINUX_DEFAULT_PATH "/usr/local/games/doom3"
#endif
// CD Key file info
// goes into BASE_GAMEDIR whatever the fs_game is set to