diff --git a/src/main.cpp b/src/main.cpp index 05f245afc3..0bc792376b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -72,9 +72,10 @@ int main ( int argc, char** argv ) // initialize all flags and string which might be changed by command line // arguments -#if defined( SERVER_BUNDLE ) && defined( Q_OS_MACX ) - // if we are on MacOS and we are building a server bundle, starts Jamulus in server mode +#if ( defined( SERVER_BUNDLE ) && defined( Q_OS_MACX ) ) || defined( SERVER_ONLY ) + // if we are on MacOS and we are building a server bundle or requested build with serveronly, start Jamulus in server mode bool bIsClient = false; + qInfo() << "- Starting in server mode by default (due to compile time option)"; #else bool bIsClient = true; #endif