fix the installation of archive and json (#257)

This commit is contained in:
lvhan028 2022-03-22 15:57:01 +08:00 committed by GitHub
parent 8daba02181
commit de18d1314a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)