ladybird/Libraries/LibThreading/CMakeLists.txt
Andreas Kling 3c0d0ecc28 LibThreading: Remove BackgroundAction
Remove BackgroundAction after ImageDecoder stopped using it. Drop its
dedicated test target and sources from LibThreading.

Replace the LibCore stream tests' remaining usage with explicit Thread
objects so the tree no longer depends on the removed API.
2026-06-05 20:00:12 +02:00

12 lines
326 B
CMake

set(SOURCES
Thread.cpp
ThreadPool.cpp
)
ladybird_lib(LibThreading threading)
target_link_libraries(LibThreading PRIVATE LibCore LibSync)
if (WIN32)
target_include_directories(LibThreading PUBLIC $<BUILD_INTERFACE:${PTHREAD_INCLUDE_DIR}>)
target_link_libraries(LibThreading PUBLIC ${PTHREAD_LIBRARY})
endif()