mirror of
https://github.com/open-mmlab/mmdeploy.git
synced 2025-01-14 08:09:43 +08:00
use wrong core's directory when install c++ header files (#330)
This commit is contained in:
parent
f76ac64cfe
commit
98da5e8ba4
@ -48,13 +48,13 @@ target_include_directories(${PROJECT_NAME}
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC ${SPDLOG_LIB} stdc++fs)
|
||||
add_library(mmdeploy::core ALIAS ${PROJECT_NAME})
|
||||
|
||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/src/core
|
||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/csrc/core
|
||||
DESTINATION include/cpp
|
||||
FILES_MATCHING PATTERN "*.h")
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/third_party/outcome/outcome-experimental.hpp
|
||||
DESTINATION include/cpp/core)
|
||||
|
||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/src/experimental
|
||||
install(DIRECTORY ${CMAKE_SOURCE_DIR}/csrc/experimental
|
||||
DESTINATION include/cpp
|
||||
FILES_MATCHING PATTERN "*.h")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user