Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Apr 2016 04:59:02 -0500
From:      "Matthew D. Fuller" <fullermd@over-yonder.net>
To:        abi <abi@abinet.ru>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Making a port - debugging cmake check_include_file
Message-ID:  <20160424095902.GW83618@over-yonder.net>
In-Reply-To: <571C968A.9060505@abinet.ru>
References:  <571BE034.9070200@abinet.ru> <20160423215530.GP83618@over-yonder.net> <571BF713.4040607@abinet.ru> <20160424071351.GQ83618@over-yonder.net> <571C876F.3040000@abinet.ru> <20160424090004.GT83618@over-yonder.net> <571C8D61.6010200@abinet.ru> <20160424094344.GV83618@over-yonder.net> <571C968A.9060505@abinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 24, 2016 at 12:48:58PM +0300 I heard the voice of
abi, and lo! it spake thus:
>
> I passed -DCMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include" from 
> port Makefile.
> Looks like the best solution - no need to poke upstream or make patch.

Interesting.  It's not clear from the docs that
CMAKE_REQUIRED_INCLUDES affects the actual build of the program (or
anything except the check_include_file() from a look around,
actually).  Well, if it works...


-- 
Matthew Fuller     (MF4839)   |  fullermd@over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160424095902.GW83618>