mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-06-11 01:08:29 -04:00
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.
30 lines
405 B
C
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@
|