fix pdebuilde error
This commit is contained in:
parent
ac0fcd486a
commit
fdd5934e7e
|
@ -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)
|
||||
|
|
|
@ -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*
|
||||
|
|
|
@ -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*
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue