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 Jul 27, 2024
1 parent f051fdd commit 4214050
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions UI/cmake/ui-elements.cmake
Original file line number Diff line number Diff line change
@@ -1,14 +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_compile_options(obs-ui-support INTERFACE $<$<PLATFORM_ID:Linux>:-Wno-error=enum-conversion>)

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 @@ -42,10 +31,13 @@ target_sources(
balance-slider.hpp
basic-controls.cpp
basic-controls.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 4214050

Please sign in to comment.