[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/10: gnu: cmake: Try CPATH and C_INCLUDE_PATH when finding system libr
From: |
guix-commits |
Subject: |
03/10: gnu: cmake: Try CPATH and C_INCLUDE_PATH when finding system libraries. |
Date: |
Wed, 16 Jan 2019 08:41:21 -0500 (EST) |
mbakke pushed a commit to branch wip-gcc7
in repository guix.
commit 28ab026f281bd96595b75ee9e0e5e6ced5147343
Author: Marius Bakke <address@hidden>
Date: Sat Oct 6 14:48:07 2018 +0200
gnu: cmake: Try CPATH and C_INCLUDE_PATH when finding system libraries.
* gnu/packages/cmake.scm (cmake)[arguments]: Try both CPATH and
C_INCLUDE_PATH
instead of just the latter.
---
gnu/packages/cmake.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm
index 5abf087..3f3f1c1 100644
--- a/gnu/packages/cmake.scm
+++ b/gnu/packages/cmake.scm
@@ -116,7 +116,8 @@
;; Help cmake's bootstrap process to find system libraries
(begin
(setenv "CMAKE_LIBRARY_PATH" (getenv "LIBRARY_PATH"))
- (setenv "CMAKE_INCLUDE_PATH" (getenv "C_INCLUDE_PATH"))
+ (setenv "CMAKE_INCLUDE_PATH" (or (getenv "CPATH")
+ (getenv "C_INCLUDE_PATH")))
#t)))
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
- branch wip-gcc7 created (now 2e48ea5), guix-commits, 2019/01/16
- 03/10: gnu: cmake: Try CPATH and C_INCLUDE_PATH when finding system libraries.,
guix-commits <=
- 04/10: gnu: cppunit: Update to 1.14.0., guix-commits, 2019/01/16
- 01/10: gnu: Use GCC 7 as the default compiler., guix-commits, 2019/01/16
- 02/10: gnu: python: Fix FTBFS with GCC >= 6., guix-commits, 2019/01/16
- 06/10: gnu: texlive-bin: Remove explicit C++11 flag., guix-commits, 2019/01/16
- 05/10: gnu: swig: Fix FTBFS with GCC >= 6., guix-commits, 2019/01/16
- 10/10: gnu: inkscape: Fix FTBFS with GCC >= 6., guix-commits, 2019/01/16
- 08/10: gnu: libevdev: Fix FTBFS with GCC7., guix-commits, 2019/01/16
- 09/10: gnu: hyperrogue: Fix FTBFS with GCC7., guix-commits, 2019/01/16
- 07/10: gnu: aspell: Fix FTBFS with GCC7., guix-commits, 2019/01/16