cmake: fix install cxx api headers

Close #1882
This commit is contained in:
Xiaofeng Wang 2022-08-22 13:11:17 +08:00
parent c6a0e3ad66
commit a06b4321be

View File

@ -57,7 +57,7 @@ update_cached_list(MK_LINK_LIBRARIES ZLMediaKit::MediaKit)
# 使
if(ENABLE_CXX_API)
#
install(DIRECTORY ${MediaKit_Root}/
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/
DESTINATION ${INSTALL_PATH_INCLUDE}/ZLMediaKit
REGEX ".*[.](md|cpp)$" EXCLUDE)
install(TARGETS zlmediakit