mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-31 13:48:25 +00:00
14 lines
341 B
CMake
14 lines
341 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 PRIVATE ${PTHREAD_INCLUDE_DIR})
|
|
target_link_libraries(LibThreading PUBLIC ${PTHREAD_LIBRARY})
|
|
endif()
|