On Sun, Apr 24, 2016 at 11:44:31AM +0300 I heard the voice of
abi, and lo! it spake thus:
>
> I go the first way, however it seems that include directory is ignored
> in include tests.
Oh, right. That's annoying.
> Should I try CMAKE_REQUIRED_INCLUDES ? However, I don't know the
> effect of this on linux systems.
I'd skip worrying about that for now. Get a patch working for the
port, then worry later about if/how to upstream it.
get_property(idirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY
INCLUDE_DIRECTORIES)
set(CMAKE_REQUIRED_INCLUDES ${idirs})
seems like it might do the trick.
--
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]"