add cmake package args

This commit is contained in:
Grant Limberg 2020-06-19 15:40:48 -07:00
parent 517a171a6c
commit 1b8703db95
No known key found for this signature in database
GPG key ID: 2BA62CCABBB4095A

4
Jenkinsfile vendored
View file

@ -370,9 +370,9 @@ def buildDebianNative() {
}
def runtime = docker.image("ztbuild/${distro}-${arch}:latest")
runtime.inside {
def cmakeFlags = ""
def cmakeFlags = 'CMAKE_ARGS="-DZT_PACKAGE_FORMAT=DEB"'
if (arch == "i386") {
cmakeFlags = 'CMAKE_ARGS="-DBUILD_32BIT=1"'
cmakeFlags = 'CMAKE_ARGS="-DBUILD_32BIT=1 -DZT_PACKAGE_FORMAT=DEB"'
}
sh 'whoami'