From bca648709f8d259ef6bbe08cc76cf38c939fe1bb Mon Sep 17 00:00:00 2001 From: Daniel Gibson Date: Sun, 9 Dec 2018 04:12:22 +0100 Subject: [PATCH] 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. --- neo/framework/Licensee.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/neo/framework/Licensee.h b/neo/framework/Licensee.h index ba04bbe3..bfccc2ac 100644 --- a/neo/framework/Licensee.h +++ b/neo/framework/Licensee.h @@ -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