构造rpm包时缺少librdkafka.so.1, 头文件安装路径不正确

This commit is contained in:
liuxueli
2021-09-11 14:48:15 +08:00
parent 44235b7ec5
commit 4ade0ab085
2 changed files with 5 additions and 2 deletions

View File

@@ -57,5 +57,8 @@ set(CPACK_BUILD_SOURCE_DIRS "${CMAKE_SOURCE_DIR}")
# Must uninstall the debug package before install release package
set(CPACK_RPM_PACKAGE_CONFLICTS ${MY_RPM_NAME_PREFIX})
set(CPACK_RPM_PACKAGE_AUTOREQPROV "no")
set(CPACK_RPM_PACKAGE_AUTOREQ "no")
# set(CPACK_STRIP_FILES TRUE)
include(CPack)