guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/08: gnu: cmake: Extend CMAKE_PREFIX_PATH to non-native inputs.


From: guix-commits
Subject: 04/08: gnu: cmake: Extend CMAKE_PREFIX_PATH to non-native inputs.
Date: Tue, 2 Jul 2019 11:19:14 -0400 (EDT)

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

commit b1389a8bca20787e584184ce9e94a3064e3f8a16
Author: Mathieu Othacehe <address@hidden>
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

[Prev in Thread] Current Thread [Next in Thread]