Skip to content

Commit e80588e

Browse files
committed
UI: Remove obs-ui-support
The remaining files are only used by the UI, so those are restored in the obs-studio target
1 parent 38fca81 commit e80588e

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

UI/cmake/ui-elements.cmake

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
add_library(obs-ui-support INTERFACE)
2-
add_library(OBS::ui-support ALIAS obs-ui-support)
3-
4-
target_sources(obs-ui-support INTERFACE # cmake-format: sortable
5-
clickable-label.hpp horizontal-scroll-area.cpp horizontal-scroll-area.hpp)
6-
7-
target_include_directories(obs-ui-support INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}")
8-
target_compile_options(obs-ui-support INTERFACE $<$<PLATFORM_ID:Linux>:-Wno-error=enum-conversion>)
9-
10-
target_link_libraries(obs-studio PRIVATE OBS::ui-support)
11-
121
if(NOT TARGET OBS::properties-view)
132
add_subdirectory("${CMAKE_SOURCE_DIR}/shared/properties-view" "${CMAKE_BINARY_DIR}/shared/properties-view")
143
endif()
@@ -42,10 +31,13 @@ target_sources(
4231
balance-slider.hpp
4332
basic-controls.cpp
4433
basic-controls.hpp
34+
clickable-label.hpp
4535
context-bar-controls.cpp
4636
context-bar-controls.hpp
4737
focus-list.cpp
4838
focus-list.hpp
39+
horizontal-scroll-area.cpp
40+
horizontal-scroll-area.hpp
4941
hotkey-edit.cpp
5042
hotkey-edit.hpp
5143
item-widget-helpers.cpp

0 commit comments

Comments
 (0)