
The dpkg-shlibdebs was causing the Debian based systems to fail when the package was being made. This makes the package builds work again.
6 lines
332 B
CMake
6 lines
332 B
CMake
# DEB specific CPack configuration parameters
|
|
set(CPACK_GENERATOR "${CPACK_GENERATOR};DEB")
|
|
set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA "${CMAKE_BINARY_DIR}/postinst;{CMAKE_BINARY_DIR}/postrm")
|
|
execute_process(COMMAND dpgk --print-architecture OUTPUT_VARIABLE DEB_ARCHITECTURE)
|
|
set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE ${DEB_ARCHITECTURE})
|