This is a workaround for build server cmake build issues on mac/linux. In the future, the build servers should specify the cmake variable.
@@ -48,7 +48,7 @@ bool obs_module_load(void)
{
init_twitch_data();
-#if CHECK_FOR_SERVICE_UPDATES
+#if !defined(_WIN32) || CHECK_FOR_SERVICE_UPDATES
char *local_dir = obs_module_file("");
char *cache_dir = obs_module_config_path("");
struct dstr module_name = {0};