mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +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:
parent
98603e2b20
commit
b0ac88cf89
Notes:
sideshowbarker
2024-07-17 06:45:52 +09:00
Author: https://github.com/MacDue Commit: https://github.com/SerenityOS/serenity/commit/b0ac88cf89 Pull-request: https://github.com/SerenityOS/serenity/pull/16833 Reviewed-by: https://github.com/ADKaster
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue