diff options
author | MacDue <macdue@dueutil.tech> | 2023-01-05 14:47:27 +0000 |
---|---|---|
committer | Andrew Kaster <andrewdkaster@gmail.com> | 2023-01-06 08:04:23 -0700 |
commit | b0ac88cf890a234606316d2d137355129ac76c1b (patch) | |
tree | 59fa0204488040d6485d59f8eb63d6245ddee414 /Meta | |
parent | 98603e2b2012bbdd3e6266771ccfa4ebac63a6dc (diff) | |
download | serenity-b0ac88cf890a234606316d2d137355129ac76c1b.zip |
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.
Diffstat (limited to 'Meta')
-rw-r--r-- | Meta/Lagom/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Meta/Lagom/CMakeLists.txt b/Meta/Lagom/CMakeLists.txt index 3082f38d83..152981f46f 100644 --- a/Meta/Lagom/CMakeLists.txt +++ b/Meta/Lagom/CMakeLists.txt @@ -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) |