gnu: colobot, leela-zero: Add Boost workaround.

This works around and incompatibility with CMake 3.14 and Boost 1.70,
see <https://bugs.gnu.org/36721>.

* gnu/packages/games.scm (colobot, leela-zero)[arguments]: Add
"-DBoost_NO_BOOST_CMAKE=ON" in <#:configure-flags>.
This commit is contained in:
Marius Bakke 2019-07-19 18:02:43 +02:00
parent 57d87f435f
commit da9adfc7f7
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 5 additions and 1 deletions

View File

@ -5397,6 +5397,8 @@ Github or Gitlab.")
(build-system cmake-build-system)
(arguments
`(#:tests? #f ;no test
;; XXX: Work around <https://bugs.gnu.org/36721>.
#:configure-flags '("-DBoost_NO_BOOST_CMAKE=ON")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'make-git-checkout-writable
@ -7621,7 +7623,9 @@ remake of that series or any other game.")
("qtbase" ,qtbase)
("zlib" ,zlib)))
(arguments
'(#:configure-flags '("-DUSE_BLAS=YES")
'(#:configure-flags '("-DUSE_BLAS=YES"
;; XXX: Work around <https://bugs.gnu.org/36721>.
"-DBoost_NO_BOOST_CMAKE=ON")
#:phases (modify-phases %standard-phases
(add-before 'configure 'fix-tests
(lambda* (#:key outputs #:allow-other-keys)