[CMake] try_compile additional include FILES
Hendrik Sattler
post at hendrik-sattler.de
Sat Oct 1 04:49:46 EDT 2016
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.
More information about the CMake
mailing list