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:
> >      get_property(idirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY 
> > INCLUDE_DIRECTORIES)
> >      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)   |  [email protected]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to