CPack: add bctoolbox-tester to shlibs for debian

parent 284b342d
......@@ -63,7 +63,9 @@ if("${CPACK_GENERATOR}" STREQUAL "DEB")
set (CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
set(SHLIBS_FILE "${CMAKE_CURRENT_BINARY_DIR}/shlibs")
get_target_property(BCTOOLBOX_SOVERSION bctoolbox SOVERSION)
get_target_property(BCTOOLBOXTESTER_SOVERSION bctoolbox-tester SOVERSION)
file(WRITE "${SHLIBS_FILE}" "libbctoolbox ${BCTOOLBOX_SOVERSION} ${CPACK_PACKAGE_NAME}\n")
file(WRITE "${SHLIBS_FILE}" "libbctoolbox-tester ${BCTOOLBOXTESTER_SOVERSION} ${CPACK_PACKAGE_NAME}\n")
execute_process(COMMAND chmod 644 "${SHLIBS_FILE}")
set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA ${SHLIBS_FILE})
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment