fix install by package manager (#638)

This commit is contained in:
saipubw 2024-03-19 14:31:26 +08:00 committed by GitHub
parent 288024013e
commit b7b01c5836
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -60,5 +60,8 @@ if (INSTALL_THIRDPARTY)
elseif(INSTALL_THIRDPARTY_BY_PACKAGE_MANAGER)
install(DIRECTORY "${yaLanTingLibs_SOURCE_DIR}/include/ylt/thirdparty/cinatra" DESTINATION include/ylt/thirdparty/cinatra)
install(DIRECTORY "${yaLanTingLibs_SOURCE_DIR}/include/ylt/thirdparty/iguana" DESTINATION include/ylt/thirdparty/iguana)
target_include_directories(yalantinglibs INTERFACE
$<INSTALL_INTERFACE:include/ylt/thirdparty>
)
endif()
message(STATUS "--------------------------------------------")