From 4e45eb06b12f06931881b0546d5552fb517ccd29 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Mon, 12 Jun 2023 19:55:05 +0200 Subject: [PATCH] CI: Fix problem with configuration when cross building with cmake Due to an adaptation of an rpm macro for cross-compiling with cmake, there was a problem with the previous method of using the current directory as the build directory. Instead, the command line options provided by cmake are now used to define the source and build directories, which provide more stable behavior. Fix #455 --- tools/ci-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci-build.sh b/tools/ci-build.sh index 4115a5939..df7ada2c1 100755 --- a/tools/ci-build.sh +++ b/tools/ci-build.sh @@ -437,7 +437,7 @@ case "$ci_buildsys" in ;; esac - $cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_WERROR=ON "$@" .. + $cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_WERROR=ON -S "$srcdir" -B "$builddir" "$@" ${make} # The test coverage for OOM-safety is too verbose to be useful on -- 2.47.3