cmake: Add CMake option to disable building plugins
Closes jp9000/obs-studio#1070
This commit is contained in:
parent
573fbbfead
commit
54ecfc8fe7
@ -1,3 +1,8 @@
|
||||
option(DISABLE_PLUGINS "Disable building of OBS plugins" OFF)
|
||||
if(DISABLE_PLUGINS)
|
||||
message(STATUS "DISABLE_PLUGINS is set; building of plugins is disabled.")
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
option(BUILD_CA_ENCODER "Build CoreAudio encoder module" ON)
|
||||
|
Loading…
x
Reference in New Issue
Block a user