[CMake] try_compile additional include FILES

J Decker d3ck0r at gmail.com
Sat Oct 1 05:12:05 EDT 2016


to fit in with the exsting schema.
Docs also say it's only available after 8.1 so.... it's really not; and
depending on the toolkit used .. which I guess is another version that
could be checked instead.

On Sat, Oct 1, 2016 at 1:49 AM, Hendrik Sattler <post at hendrik-sattler.de>
wrote:

> Hi,
>
> If you know that you are on Windows and know all that, why do you want an
> expensive check for it?
>
> HS
>
>
> Am 30. September 2016 19:57:07 MESZ, schrieb J Decker <d3ck0r at gmail.com>:
> >I've been playing with libressl; which has quite a few
> >'check_function_exists'
> >
> >In particular 'check-function-exists( inet_pton HAVE_INET_PTON )'
> >
> >this is failing, because, directly, there is no 'inet_pton' in windows,
> >but
> >by including ws2tcpip.h there is a #define that changes it to
> >InetPton[A/W]
> >
> >but I don't see any way to specify additional files to include.
> >
> >
> >------------------------------------------------------------------------
>
> --
> Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail
> gesendet.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20161001/dc9a8a3b/attachment.html>


More information about the CMake mailing list