Skip to content

Commit

Permalink
UI: Remove obs-ui-support
Browse files Browse the repository at this point in the history
The remaining files are only used by the UI, so those are restored in
the obs-studio target
  • Loading branch information
tytan652 committed Jan 13, 2024
1 parent 39d8cb3 commit 71ea0b1
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions UI/cmake/ui-elements.cmake
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
add_library(obs-ui-support INTERFACE)
add_library(OBS::ui-support ALIAS obs-ui-support)

target_sources(obs-ui-support INTERFACE # cmake-format: sortable
clickable-label.hpp horizontal-scroll-area.cpp horizontal-scroll-area.hpp)

target_include_directories(obs-ui-support INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}")

target_link_libraries(obs-studio PRIVATE OBS::ui-support)

if(NOT TARGET OBS::properties-view)
add_subdirectory("${CMAKE_SOURCE_DIR}/shared/properties-view" "${CMAKE_BINARY_DIR}/shared/properties-view")
endif()
Expand Down Expand Up @@ -37,10 +27,13 @@ target_sources(
audio-encoders.cpp
audio-encoders.hpp
balance-slider.hpp
clickable-label.hpp
context-bar-controls.cpp
context-bar-controls.hpp
focus-list.cpp
focus-list.hpp
horizontal-scroll-area.cpp
horizontal-scroll-area.hpp
hotkey-edit.cpp
hotkey-edit.hpp
item-widget-helpers.cpp
Expand Down

0 comments on commit 71ea0b1

Please sign in to comment.