1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:57:46 +00:00

LibThreading: Fix building the library on macOS

This commit is contained in:
Gunnar Beutner 2021-07-06 00:06:32 +02:00
parent 565796ae4e
commit 01db5205ab
2 changed files with 14 additions and 1 deletions

View file

@ -108,6 +108,8 @@ include_directories(../../Userland/)
include_directories(../../Userland/Libraries/)
include_directories(${CMAKE_BINARY_DIR})
add_library(LagomCore ${LAGOM_CORE_SOURCES})
find_package(Threads REQUIRED)
target_link_libraries(LagomCore PRIVATE Threads::Threads)
if (BUILD_LAGOM)
add_library(Lagom $<TARGET_OBJECTS:LagomCore> ${LAGOM_MORE_SOURCES})