Subject: Re: [bug#32953] [PATCH core-updates-next 7/8] gnu: cmake: Try CPATH and C_INCLUDE_PATH when finding system libraries.

From: Danny Milosavljevic <[email-masked]>
Date: Thu, 11 Oct 2018 10:06:29 +0200

Hi Marius,

On Sat,  6 Oct 2018 15:16:38 +0200
Marius Bakke <[email-masked]> wrote:

> * gnu/packages/cmake.scm (cmake)[arguments]: Try both CPATH and C_INCLUDE_PATH
> instead of just the latter.

Hmm...  why?

I thought if one used CPATH it would not treat the headers as a system
headers and one would get a lot of errors anyway (because #include_next
wouldn't work and also because of things one "ought" not to do which
the system headers do anyway and get a pass on).