Making a port - debugging cmake check_include_file

Matthew D. Fuller fullermd at
Sun Apr 24 09:43:46 UTC 2016

On Sun, Apr 24, 2016 at 12:09:53PM +0300 I heard the voice of
abi, and lo! it spake thus:
> On 24.04.2016 12:00, Matthew D. Fuller wrote:
> >      set(CMAKE_REQUIRED_INCLUDES ${idirs})
> >
> > seems like it might do the trick.
> Nope, the same behavior.

Did you add those along with and after the EXTRA_INCDIRS stuff?  Else
the extra bits wouldn't have been stuck into INCLUDE_DIRECTORIES yet.

> Is hardcoded directory includes considered evil and I should find
> (read - ask here :)) ) better solution ?

LOCALBASE != /usr/local is liable to be pretty rare, but I think it's
still theoretically supported, so...

Matthew Fuller     (MF4839)   |  fullermd at
Systems/Network Administrator |
           On the Internet, nobody can hear you scream.

More information about the freebsd-ports mailing list