mirror of
https://github.com/zebrajr/ladybird.git
synced 2026-01-15 12:15:15 +00:00
Meta/Lagom: Link Threads::Threads
This is required for me to be able to build both Serenity and Ladybird from the same repo. Without this the two builds seem to stomp on each other, then fail to link.
This commit is contained in:
@@ -54,6 +54,9 @@ endif()
|
||||
option(BUILD_SHARED_LIBS "Build shared libraries instead of static libraries" ON)
|
||||
|
||||
find_package(Threads REQUIRED)
|
||||
# FIXME: This global link libraries is required to workaround linker issues (on some systems)
|
||||
# from the Ladybird import. See https://github.com/SerenityOS/serenity/issues/16847
|
||||
link_libraries(Threads::Threads)
|
||||
|
||||
if (ENABLE_LAGOM_CCACHE)
|
||||
include(setup_ccache)
|
||||
|
||||
Reference in New Issue
Block a user