fix pdebuilde error

This commit is contained in:
xibowen 2023-02-07 20:03:29 +08:00
parent ac0fcd486a
commit fdd5934e7e
4 changed files with 8 additions and 7 deletions

View File

@ -30,6 +30,6 @@ set (LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
set (EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
set (CMAKE_INSTALL_PREFIX /usr)
set (CMAKE_INSTALL_RPATH /usr/lib/x86_64-linux-gnu/kysdk/kysdk-base)
set (CMAKE_INSTALL_RPATH /usr/lib/${CMAKE_HOST_SYSTEM_PROCESSOR}-linux-gnu/kysdk/kysdk-base)
add_subdirectory(src)

View File

@ -1,5 +1,6 @@
src/log/kylog-default.conf etc/kysdk/kysdk-base
src/log/kylog-rotate-default etc/kysdk/kysdk-base
src/log/logrotate.cron etc/kysdk/kysdk-base
usr/lib/*/kysdk/kysdk-base/*.so*
#usr/lib/*/kysdk/kysdk-base/libkylog.so*
#usr/lib/*/kysdk/kysdk-base/*.so*
#usr/lib/*/kysdk/kysdk-base/libkyconf.so*
usr/lib/*/kysdk/kysdk-base/libkylog.so*

View File

@ -1,3 +1,3 @@
usr/lib/*/kysdk/kysdk-base/*.so*
#usr/lib/*/kysdk/kysdk-base/libkydatastruct.so*
#usr/lib/*/kysdk/kysdk-base/libkyutils.so*
#usr/lib/*/kysdk/kysdk-base/*.so*
usr/lib/*/kysdk/kysdk-base/libkydatastruct.so*
usr/lib/*/kysdk/kysdk-base/libkyutils.so*

View File

@ -14,4 +14,4 @@ target_link_libraries(test-insert kydatastruct)
target_link_libraries(test-search kydatastruct)
install(TARGETS kydatastruct
DESTINATION lib/kysdk/kysdk-base)
DESTINATION lib/${CMAKE_HOST_SYSTEM_PROCESSOR}-linux-gnu/kysdk/kysdk-base)