Making a port - debugging cmake check_include_file
Matthew D. Fuller
fullermd at over-yonder.net
Sun Apr 24 09:59:05 UTC 2016
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 at over-yonder.net
Systems/Network Administrator | http://www.over-yonder.net/~fullermd/
On the Internet, nobody can hear you scream.
More information about the freebsd-ports
mailing list