[CMake] CheckTypeSize and non-standard headers

Aaron Turner synfinatic at gmail.com
Mon Feb 16 14:13:12 EST 2009

I'm trying to figure out how to write my CMakeLists.txt file to find
wint_t under OSX which defines it in /usr/include/runetype.h rather
then one of the standard headers that CheckTypeSize uses.  I was
hoping Cmake behaved like autotools where if you first look for the
header it will automatically include it in future type checks, but
that doesn't seem to be the case.


Aaron Turner
http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows
Those who would give up essential Liberty, to purchase a little
temporary Safety,
deserve neither Liberty nor Safety.
    -- Benjamin Franklin

More information about the CMake mailing list