gnu: cmake: Fix cross-compilation.
authorMathieu Othacehe <m.othacehe@gmail.com>
Tue, 2 Jul 2019 13:22:16 +0000 (15:22 +0200)
committerMathieu Othacehe <m.othacehe@gmail.com>
Fri, 15 Nov 2019 16:32:25 +0000 (17:32 +0100)
commit534537e2efd7ff3d521a0c4cc60170a126d9c9f3
tree2536882fd7ac19c8ed2a652a625f11a0cad14aea
parentbdcdd55000c61f46649164fe43289f33c6132417
gnu: cmake: Fix cross-compilation.

* gnu/packages/cmake.scm (cmake-minimal-cross): New package.
* guix/build-system/cmake.scm (default-cmake): Add new target argument and use
it to select cmake-minimal or cmake-minimal-cross.
(lower): Pass target to default-cmake.
gnu/packages/cmake.scm
guix/build-system/cmake.scm