mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-24 23:33:47 +08:00
cmake: Don't add Idian playground when feature is disabled
This commit is contained in:
committed by
Ryan Foster
parent
e8f6143769
commit
c527f9e34c
@@ -6,4 +6,6 @@ if(ENABLE_WIDGET_PLAYGROUND)
|
||||
PRIVATE forms/OBSIdianPlayground.ui dialogs/OBSIdianPlayground.hpp dialogs/OBSIdianPlayground.cpp
|
||||
)
|
||||
target_enable_feature(obs-studio "Widget Playground" ENABLE_WIDGET_PLAYGROUND)
|
||||
else()
|
||||
target_disable_feature(obs-studio "Widget Playground")
|
||||
endif()
|
||||
|
||||
@@ -37,6 +37,4 @@ target_sources(
|
||||
dialogs/OBSRemux.hpp
|
||||
dialogs/OBSWhatsNew.cpp
|
||||
dialogs/OBSWhatsNew.hpp
|
||||
dialogs/OBSIdianPlayground.cpp
|
||||
dialogs/OBSIdianPlayground.hpp
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user