cmake: Don't add Idian playground when feature is disabled

This commit is contained in:
Sebastian Beckmann
2025-08-22 16:21:52 -04:00
committed by Ryan Foster
parent e8f6143769
commit c527f9e34c
2 changed files with 2 additions and 2 deletions
@@ -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()
-2
View File
@@ -37,6 +37,4 @@ target_sources(
dialogs/OBSRemux.hpp
dialogs/OBSWhatsNew.cpp
dialogs/OBSWhatsNew.hpp
dialogs/OBSIdianPlayground.cpp
dialogs/OBSIdianPlayground.hpp
)