mirror of
https://github.com/open-mmlab/mmdeploy.git
synced 2025-01-14 08:09:43 +08:00
fix the installation of archive and json (#257)
This commit is contained in:
parent
8daba02181
commit
de18d1314a
@ -6,6 +6,7 @@ add_library(${PROJECT_NAME} INTERFACE)
|
||||
target_link_libraries(${PROJECT_NAME} INTERFACE mmdeploy::core)
|
||||
add_library(mmdeploy::archive ALIAS mmdeploy_archive)
|
||||
|
||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/src/archive
|
||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/csrc/archive
|
||||
DESTINATION include/cpp
|
||||
FILES_MATCHING PATTERN "*.h")
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/third_party/json/json.hpp DESTINATION include/cpp/archive)
|
||||
|
Loading…
x
Reference in New Issue
Block a user