1
0
Fork 0

Merge pull request #2178 from servusoft/patch-9

build of dependecies don't works on cross compiling
This commit is contained in:
Wilfried Goesgens 2016-11-17 10:07:59 +01:00 committed by GitHub
commit 764615cc62
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()