mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-31 15:32:51 +00:00
13 lines
359 B
CMake
13 lines
359 B
CMake
set(SOURCES
|
|
BackgroundAction.cpp
|
|
Thread.cpp
|
|
)
|
|
|
|
serenity_lib(LibThreading threading)
|
|
target_link_libraries(LibThreading PRIVATE LibCore)
|
|
|
|
if (WIN32)
|
|
find_package(pthread REQUIRED)
|
|
target_include_directories(LibThreading PUBLIC $<BUILD_INTERFACE:${PTHREAD_INCLUDE_DIR}>)
|
|
target_link_libraries(LibThreading PUBLIC ${PTHREAD_LIBRARY})
|
|
endif()
|