set(BACKEND_HAIKU_SRC_BASE main.cpp main_window.cpp prefs.cpp slider.cpp slider.h main.h main_window.h aboutwindow.h aboutwindow.cpp prefs.h) set(BACKEND_HAIKU_SRC ) foreach(SRC IN ITEMS ${BACKEND_HAIKU_SRC_BASE}) set(BACKEND_HAIKU_SRC ${BACKEND_HAIKU_SRC} ${CMAKE_CURRENT_SOURCE_DIR}/${SRC}) endforeach() set(BACKEND_HAIKU_INC ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}) add_ui_backend(haiku_ui ${BACKEND_HAIKU_SRC}) target_link_libraries(haiku_ui PRIVATE be tracker SDL2::SDL2 fmt::fmt liblooper) #target_link_libraries(haiku_ui PRIVATE PkgConfig::GTK4 PkgConfig::gtkmm4) #target_include_directories(haiku_ui PRIVATE ${BACKEND_HAIKU_INC})