gnu: cmake: Enable debugging information.

* gnu/packages/cmake.scm (cmake)[arguments]: Set #:build-type.
This commit is contained in:
Marius Bakke 2020-01-26 12:49:45 +01:00
parent 11f4d87756
commit 28ba01aec6
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -300,6 +300,10 @@ (define-public cmake
(if (%current-target-system)
cmake-minimal-cross
cmake-minimal))
;; Enable debugging information for convenience.
((#:build-type _ #f) "RelWithDebInfo")
((#:configure-flags flags ''())
`(append (list "-DSPHINX_INFO=ON" "-DSPHINX_MAN=ON" "-DSPHINX_HTML=ON"
(string-append "-DCMAKE_DOC_DIR=share/doc/cmake-"