mothacehe pushed a commit to branch wip-cross-system
in repository guix.

commit 78b48027832fcba2fcec8d62415a720c6874e64a
Author: Mathieu Othacehe <[email protected]>
Date:   Tue Jul 2 15:22:16 2019 +0200

    gnu: cmake: Extend CMAKE_PREFIX_PATH to non-native inputs.
    
    * gnu/packages/cmake.scm (cmake)[native-search-paths]: Turn to search-paths.
    This allows libraries using cmake functions "find_file" or "find_library" to
    search in non-native inputs while cross-compiling.
---
 gnu/packages/cmake.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm
index 7186cf9..3969d30 100644
--- a/gnu/packages/cmake.scm
+++ b/gnu/packages/cmake.scm
@@ -147,7 +147,7 @@
        ("ncurses" ,ncurses) ; required for ccmake
        ("rhash" ,rhash)
        ("zlib" ,zlib)))
-    (native-search-paths
+    (search-paths
      (list (search-path-specification
             (variable "CMAKE_PREFIX_PATH")
             (files '("")))))

Reply via email to