3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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 @@ and workspaces that can be used in the compiler environment of your choice.")
(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-"