deps/obs-scripting: Make ENABLE_SCRIPTING a user variable
Makes it so that the scripting cmake variable ENABLE_SCRIPTING is a user variable rather than a global internal cmake variable, and defers the internal global cmake variable to SCRIPTING_ENABLED instead.
This commit is contained in:
@@ -43,7 +43,7 @@ set(frontend-tools_UI
|
||||
forms/output-timer.ui
|
||||
)
|
||||
|
||||
if(ENABLE_SCRIPTING)
|
||||
if(SCRIPTING_ENABLED)
|
||||
set(frontend-tools_HEADERS
|
||||
${frontend-tools_HEADERS}
|
||||
scripts.hpp
|
||||
|
@@ -17,6 +17,6 @@
|
||||
#endif
|
||||
|
||||
#define BUILD_CAPTIONS @BUILD_CAPTIONS@
|
||||
#define ENABLE_SCRIPTING @ENABLE_SCRIPTING@
|
||||
#define ENABLE_SCRIPTING @SCRIPTING_ENABLED@
|
||||
#define COMPILE_LUA @COMPILE_LUA@
|
||||
#define COMPILE_PYTHON @COMPILE_PYTHON@
|
||||
|
Reference in New Issue
Block a user