[CMake] try_compile additional include FILES

J Decker d3ck0r at gmail.com
Fri Sep 30 13:57:07 EDT 2016


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160930/be8822f3/attachment.html>


More information about the CMake mailing list