Skip to content

Fix data location problem when packaging

Marcel Loose requested to merge RAP-173_fix-install-dir-for-packaging into master

When building packages, it is strongly recommend that CMAKE_INSTALL_PREFIX (the installation prefix used by cmake) matches with CPACK_PACKAGING_INSTALL_PREFIX (the installation prefix used by cpack), to avoid building a broken package. It is also strongly recommended to set CMAKE_INSTALL_PREFIX to /usr and to not use an absolute path in EVERYBEAM_DATADIR when building packages. If any of these conditions are not met, a warning is printed.

Note that by default CPACK_PACKAGING_INSTALL_PREFIX is set to ${CMAKE_INSTALL_PREFIX}, and EVERYBEAM_DATADIR contains a relative path.

Closes RAP-173

Edited by Marcel Loose

Merge request reports