mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-30 22:38:30 +08:00
cmake: Skip plugin target setup when ENABLE_PLUGINS is not set
This commit is contained in:
@@ -6,6 +6,7 @@ if(OBS_CMAKE_VERSION VERSION_GREATER_EQUAL 3.0.0)
|
||||
|
||||
if(NOT ENABLE_PLUGINS)
|
||||
set_property(GLOBAL APPEND PROPERTY OBS_FEATURES_DISABLED "Plugin Support")
|
||||
return()
|
||||
endif()
|
||||
|
||||
set_property(GLOBAL APPEND PROPERTY OBS_FEATURES_ENABLED "Plugin Support")
|
||||
|
||||
Reference in New Issue
Block a user