mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-06-12 09:44:44 -04:00
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.
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
#include <util/platform.h>
|
||||
#include <util/config-file.h>
|
||||
|
||||
#if defined(ENABLE_UI)
|
||||
#if defined(ENABLE_FRONTEND)
|
||||
#include "obs-frontend-api.h"
|
||||
#endif
|
||||
|
||||
@@ -106,6 +106,6 @@ static inline void wrap_blog(int log_level, const char *message)
|
||||
%include "util/platform.h"
|
||||
%include "util/config-file.h"
|
||||
|
||||
#if defined(ENABLE_UI)
|
||||
#if defined(ENABLE_FRONTEND)
|
||||
%include "obs-frontend-api.h"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user