🔧 build(target_include_directories): rename src to infra

This commit is contained in:
yangwei
2024-08-28 15:01:32 +08:00
parent 16b18624ab
commit 848122000a
6 changed files with 6 additions and 9 deletions

View File

@@ -2,7 +2,7 @@
add_library(debug_plugin SHARED debug_plugin.cpp)
target_link_libraries(debug_plugin stellar_devel session_manager packet)
target_include_directories(debug_plugin PUBLIC ${CMAKE_SOURCE_DIR}/include/)
target_include_directories(debug_plugin PUBLIC ${CMAKE_SOURCE_DIR}/src/utils)
target_include_directories(debug_plugin PUBLIC ${CMAKE_SOURCE_DIR}/infra/core/utils)
set_target_properties(debug_plugin PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_LIST_DIR}/version.map")
file(COPY ./conf/ DESTINATION ./conf/)