mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:17:44 +00:00
Meta: Fix building Lagom on Linux
This commit is contained in:
parent
3411d50737
commit
5c3f781031
1 changed files with 3 additions and 1 deletions
|
@ -109,14 +109,16 @@ 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)
|
||||
target_link_libraries(LagomCore Threads::Threads)
|
||||
|
||||
if (BUILD_LAGOM)
|
||||
add_library(Lagom $<TARGET_OBJECTS:LagomCore> ${LAGOM_MORE_SOURCES})
|
||||
target_link_libraries(Lagom Threads::Threads)
|
||||
|
||||
if (NOT ENABLE_OSS_FUZZ AND NOT ENABLE_FUZZER_SANITIZER)
|
||||
enable_testing()
|
||||
add_library(LagomTest $<TARGET_OBJECTS:LagomCore> ${LAGOM_TEST_SOURCES})
|
||||
target_link_libraries(LagomTest Threads::Threads)
|
||||
add_executable(TestApp TestApp.cpp)
|
||||
target_link_libraries(TestApp Lagom)
|
||||
target_link_libraries(TestApp stdc++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue