Subject: [bug#70031] [PATCH v2 03/65] build-system/qt: Add generator fields.

From: Greg Hogan <[email-masked]>
Date: Tue, 22 Oct 2024 18:08:53 +0000

* guix/build-system/qt.scm (qt-build, qt-cross-build): Add generator
field defaulted to the default CMake build system generator.

Change-Id: I41e003a212f94a636a7503eec37c90a2d9de23f6
---
 guix/build-system/qt.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/guix/build-system/qt.scm b/guix/build-system/qt.scm
index d1f721c54e..8771888a62 100644
--- a/guix/build-system/qt.scm
+++ b/guix/build-system/qt.scm
@@ -128,6 +128,7 @@ (define* (qt-build name inputs
                    (search-paths '())
                    (make-flags ''())
                    (out-of-source? #t)
+                   (generator "Unix Makefiles")
                    (build-type "RelWithDebInfo")
                    (tests? #t)
                    (test-target "test")
@@ -168,6 +169,7 @@ (define* (qt-build name inputs
                     #:configure-flags #$configure-flags
                     #:make-flags #$make-flags
                     #:out-of-source? #$out-of-source?
+                    #:generator #$generator
                     #:build-type #$build-type
                     #:tests? #$tests?
                     #:test-target #$test-target
@@ -205,6 +207,7 @@ (define* (qt-cross-build name
                          (native-search-paths '())
                          (make-flags ''())
                          (out-of-source? #t)
+                         (generator "Unix Makefiles")
                          (build-type "RelWithDebInfo")
                          (tests? #f)              ; nothing can be done
                          (test-target "test")
@@ -258,6 +261,7 @@ (define* (qt-cross-build name
                     #:configure-flags #$configure-flags
                     #:make-flags #$make-flags
                     #:out-of-source? #$out-of-source?
+                    #:generator #$generator
                     #:build-type #$build-type
                     #:tests? #$tests?
                     #:test-target #$test-target
-- 
2.46.1