Skip to content

Commit

Permalink
use wrong core's directory when install c++ header files (open-mmlab#330
Browse files Browse the repository at this point in the history
)
  • Loading branch information
lvhan028 authored Dec 23, 2021
1 parent f76ac64 commit 98da5e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions csrc/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 98da5e8

Please sign in to comment.