Files
obs-studio/shared/obs-scripting/obs-scripting-config.h.in
PatTheMav 35c7a5a173 cmake: Fix frontend feature flag mismatch
The actual frontend provided an "ENABLE_FRONTEND" build flag, whereas
the global project still provided an "ENABLE_UI" flag, which itself was
only read and respected by the scripting module.

This change retains the global flag and makes both the actual frontend
as well as the scripting module respect its value.
2026-06-05 16:00:18 -04:00

30 lines
405 B
C

#pragma once
#ifndef TRUE
#define TRUE 1
#endif
#ifndef ON
#define ON 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
#ifndef OFF
#define OFF 0
#endif
#ifndef LUAJIT_FOUND
#cmakedefine LUAJIT_FOUND
#endif
#ifndef Python_FOUND
#cmakedefine Python_FOUND
#endif
#define SCRIPT_DIR "@OBS_SCRIPT_PLUGIN_PATH@"
#define PYTHON_LIB "@OBS_SCRIPT_PYTHON_PATH@"
#define UI_ENABLED @ENABLE_FRONTEND@