mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: qtbase: Modify .cmake files to enable modules in different packages.
* gnu/packages/qt.scm (qtbase)[arguments]: In the configure phase, modify .cmake and .cmake.in files so that find_package honors CMAKE_PREFIX_PATH.
This commit is contained in:
parent
0ea179fd92
commit
7972d8a2e9
1 changed files with 7 additions and 0 deletions
|
@ -393,6 +393,13 @@ (define-public qtbase
|
|||
(("/bin/pwd") (which "pwd")))
|
||||
(substitute* "src/corelib/global/global.pri"
|
||||
(("/bin/ls") (which "ls")))
|
||||
;; The configuration files for other Qt5 packages are searched
|
||||
;; through a call to "find_package" in Qt5Config.cmake, which
|
||||
;; disables the use of CMAKE_PREFIX_PATH via the parameter
|
||||
;; "NO_DEFAULT_PATH". Re-enable it so that the different
|
||||
;; components can be installed in different places.
|
||||
(substitute* (find-files "." ".*\\.cmake")
|
||||
(("NO_DEFAULT_PATH") ""))
|
||||
;; do not pass "--enable-fast-install", which makes the
|
||||
;; configure process fail
|
||||
(zero? (system*
|
||||
|
|
Loading…
Reference in a new issue