Aaron Smith wrote:
> Hey All,
> 
> First off I'm loving cmake, This thing makes my life so easy. Thank you!
> 
> I'm working on porting some code to Windows at the moment. I'm putting in
> configure checks for stdint.h and it's types. The strange thing is that
> finding the header works, but then finding the type fails.
> 
> check_include_file(stdint.h HAVE_STDINT_H) - works

set(CMAKE_REQUIRED_INCLUDES stdint.h)

> check_type_size(int8_t HAVE_int8_t) - fails
> check_symbol_exists(int8_t stdint.h HAVE_int8_t) - fails

HTH

Eike
-- 

Attachment: signature.asc
Description: This is a digitally signed message part.

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to