mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-12 22:10:54 -04:00
Conditionally link exception_tracer
libs
This commit is contained in:
parent
1d9048e888
commit
5b5b4a5718
@ -361,8 +361,11 @@ target_link_libraries(
|
||||
|
||||
foreach(tgt ${BINARY_TARGETS})
|
||||
target_link_libraries(${tgt} dwarfs)
|
||||
target_link_libraries(${tgt} -Wl,--whole-archive folly_exception_tracer_base
|
||||
folly_exception_tracer -Wl,--no-whole-archive)
|
||||
if(TARGET folly_exception_tracer)
|
||||
target_link_libraries(
|
||||
${tgt} -Wl,--whole-archive folly_exception_tracer_base
|
||||
folly_exception_tracer -Wl,--no-whole-archive)
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
if(WITH_PYTHON)
|
||||
|
Loading…
x
Reference in New Issue
Block a user