mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 18:02:31 +08:00
Only build libcoro if COROUTINE_IMPL == libcoro
It doesn't build at all on mac m1
This commit is contained in:
parent
b43f1640a4
commit
23de546586
@ -87,6 +87,7 @@ if(COMPILE_EIO)
|
||||
target_link_libraries(fdbrpc_sampling PRIVATE eio)
|
||||
endif()
|
||||
|
||||
if(${COROUTINE_IMPL} STREQUAL libcoro)
|
||||
set(CORO_SRCS libcoroutine/Common.c libcoroutine/Coro.c)
|
||||
if(APPLE)
|
||||
list(APPEND CORO_SRCS libcoroutine/asm.S)
|
||||
@ -106,3 +107,4 @@ if(USE_VALGRIND)
|
||||
endif()
|
||||
target_link_libraries(fdbrpc PRIVATE coro)
|
||||
target_link_libraries(fdbrpc_sampling PRIVATE coro)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user