libAttachmentSupport: convert into shared lib
This ensures that the support routines in this library will be exposed at the same vaddr to each object in the vaddrspace.
This commit is contained in:
@@ -13,7 +13,9 @@ if(ENABLE_LIB_livoxProto1)
|
||||
# Set config define for header generation
|
||||
add_compile_definitions(CONFIG_LIB_LIVOXPROTO1_ENABLED)
|
||||
target_include_directories(livoxProto1 PUBLIC ${Boost_INCLUDE_DIRS})
|
||||
target_link_libraries(livoxProto1 PUBLIC Boost::system Boost::log)
|
||||
target_link_libraries(livoxProto1 PUBLIC
|
||||
Boost::system Boost::log
|
||||
attachmentSupport)
|
||||
|
||||
# Verify Boost dynamic dependencies after build
|
||||
add_custom_command(TARGET livoxProto1 POST_BUILD
|
||||
|
||||
Reference in New Issue
Block a user