mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-04 20:05:51 +00:00
fix: Link with boost libraries explicitly (#2313)
This commit is contained in:
@@ -10,4 +10,5 @@ target_link_libraries(
|
|||||||
clio_web
|
clio_web
|
||||||
clio_rpc
|
clio_rpc
|
||||||
clio_migration
|
clio_migration
|
||||||
|
PRIVATE Boost::program_options
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -42,12 +42,15 @@ target_sources(
|
|||||||
|
|
||||||
# This must be above the target_link_libraries call otherwise backtrace doesn't work
|
# This must be above the target_link_libraries call otherwise backtrace doesn't work
|
||||||
if ("${san}" STREQUAL "")
|
if ("${san}" STREQUAL "")
|
||||||
target_link_libraries(clio_util PUBLIC Boost::stacktrace_backtrace dl libbacktrace::libbacktrace)
|
target_link_libraries(clio_util PUBLIC Boost::stacktrace_backtrace)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
clio_util
|
clio_util
|
||||||
PUBLIC Boost::headers
|
PUBLIC Boost::headers
|
||||||
|
Boost::iostreams
|
||||||
|
Boost::log
|
||||||
|
Boost::log_setup
|
||||||
fmt::fmt
|
fmt::fmt
|
||||||
openssl::openssl
|
openssl::openssl
|
||||||
xrpl::libxrpl
|
xrpl::libxrpl
|
||||||
|
|||||||
@@ -21,5 +21,5 @@ target_sources(
|
|||||||
target_compile_options(clio_options INTERFACE -gdwarf-4)
|
target_compile_options(clio_options INTERFACE -gdwarf-4)
|
||||||
|
|
||||||
target_include_directories(clio_integration_tests PRIVATE .)
|
target_include_directories(clio_integration_tests PRIVATE .)
|
||||||
target_link_libraries(clio_integration_tests PUBLIC clio_testing_common)
|
target_link_libraries(clio_integration_tests PUBLIC clio_testing_common PRIVATE Boost::program_options)
|
||||||
set_target_properties(clio_integration_tests PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
|
set_target_properties(clio_integration_tests PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
|
||||||
|
|||||||
Reference in New Issue
Block a user