CMake: Use upstream CheckTypeSize module
authorBrad King <brad.king@kitware.com>
Wed, 5 Jan 2011 16:32:41 +0000 (17:32 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 5 Jan 2011 23:06:29 +0000 (00:06 +0100)
commit651c0bcdf27c484ebd6d637947157424aaa46ab7
treee58a2a65917f63c82228d87364b82d3a479c658e
parentd45ed0ecf5a92b35868b46943871dfa4ec14c7a2
CMake: Use upstream CheckTypeSize module

The CheckTypeSize module that comes with CMake 2.6.2 and above does
everything we need and also supports cross-compiling.  Avoid duplicating
an older version of it here.  This also fixes a cross-compiling error
because the old line

  include ("${CMAKE_MODULE_PATH}/CheckTypeSize.cmake")

failed because CMAKE_MODULE_PATH is a search path and not a directory.

Signed-off-by: Brad King <brad.king@kitware.com>
CMake/CheckTypeSize.c.in [deleted file]
CMake/CheckTypeSize.cmake [deleted file]
CMakeLists.txt