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.
12 lines
326 B
CMake
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()
|