1
0
Fork 0

build of dependecies don't works on cross compiling

This commit is contained in:
servusoft 2016-11-16 20:10:59 +01:00 committed by GitHub
parent 5978461ffe
commit d7a93ae3cc
1 changed files with 4 additions and 1 deletions

View File

@ -10,7 +10,10 @@ set(PACKAGING_HANDLE_CONFIG_FILES true)
FILE(READ "${PROJECT_SOURCE_DIR}/Installation/debian/packagedesc.txt" CPACK_DEBIAN_PACKAGE_DESCRIPTION)
set(CPACK_DEBIAN_PACKAGE_SECTION "database")
set(CPACK_DEBIAN_PACKAGE_CONFLICTS "arangodb, ${CPACKG_PACKAGE_CONFLICTS}, ${CPACKG_PACKAGE_CONFLICTS}-client, ${CPACK_PACKAGE_NAME}-client")
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
# build of dependecies (yet) don't works on cross compiling
if (NOT CROSS_COMPILING)
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
endif()
if(NOT DISABLE_XZ_DEB)
set(CPACK_DEBIAN_COMPRESSION_TYPE "xz")
endif()