Files
ladybird/Libraries/LibThreading/CMakeLists.txt
Undefine e39a8719fd Meta: Move most dependency checks to check_for_dependencies.cmake
This file was here for quite a long while now. Let's finally move most
of the dependency checks to one centralized place.
2026-04-20 16:41:29 -06:00

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()