From da9adfc7f7e11e6aeaa6322331e867bbafdab055 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Fri, 19 Jul 2019 18:02:43 +0200 Subject: [PATCH] gnu: colobot, leela-zero: Add Boost workaround. This works around and incompatibility with CMake 3.14 and Boost 1.70, see . * gnu/packages/games.scm (colobot, leela-zero)[arguments]: Add "-DBoost_NO_BOOST_CMAKE=ON" in <#:configure-flags>. --- gnu/packages/games.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 1088d2ff4b..30fa0463f4 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -5397,6 +5397,8 @@ (define-public colobot (build-system cmake-build-system) (arguments `(#:tests? #f ;no test + ;; XXX: Work around . + #:configure-flags '("-DBoost_NO_BOOST_CMAKE=ON") #:phases (modify-phases %standard-phases (add-after 'unpack 'make-git-checkout-writable @@ -7621,7 +7623,9 @@ (define-public leela-zero ("qtbase" ,qtbase) ("zlib" ,zlib))) (arguments - '(#:configure-flags '("-DUSE_BLAS=YES") + '(#:configure-flags '("-DUSE_BLAS=YES" + ;; XXX: Work around . + "-DBoost_NO_BOOST_CMAKE=ON") #:phases (modify-phases %standard-phases (add-before 'configure 'fix-tests (lambda* (#:key outputs #:allow-other-keys)