From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:54846) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkQRS-0005FX-Mn for guix-patches@gnu.org; Mon, 08 Jul 2019 06:00:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hkQRR-00036g-KW for guix-patches@gnu.org; Mon, 08 Jul 2019 06:00:14 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49045) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hkQRR-00036b-H8 for guix-patches@gnu.org; Mon, 08 Jul 2019 06:00:13 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hkQRR-0004u2-Dn for guix-patches@gnu.org; Mon, 08 Jul 2019 06:00:13 -0400 Subject: [bug#36477] [PATCH 12/31] gnu: cmake: Extend CMAKE_PREFIX_PATH to non-native inputs. Resent-Message-ID: From: Mathieu Othacehe Date: Mon, 8 Jul 2019 11:58:54 +0200 Message-Id: <20190708095913.3460-13-m.othacehe@gmail.com> In-Reply-To: <20190708095913.3460-1-m.othacehe@gmail.com> References: <20190708095913.3460-1-m.othacehe@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 36477@debbugs.gnu.org Cc: Mathieu Othacehe * 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 7186cf98df..3969d309af 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 '(""))))) -- 2.17.1