mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
This file was here for quite a long while now. Let's finally move most of the dependency checks to one centralized place.
14 lines
343 B
CMake
14 lines
343 B
CMake
set(SOURCES
|
|
BackgroundAction.cpp
|
|
Thread.cpp
|
|
ThreadPool.cpp
|
|
)
|
|
|
|
ladybird_lib(LibThreading threading)
|
|
target_link_libraries(LibThreading PRIVATE LibCore)
|
|
|
|
if (WIN32)
|
|
target_include_directories(LibThreading PUBLIC $<BUILD_INTERFACE:${PTHREAD_INCLUDE_DIR}>)
|
|
target_link_libraries(LibThreading PUBLIC ${PTHREAD_LIBRARY})
|
|
endif()
|