Re: [CMake] Testing the size of long throws error when more than one OS X Arch is passed

2009-11-17 Thread Hendrik Sattler
Zitat von Michael Jackson : Then in the header file that gets configured I have this: #if !defined(__APPLE__) # define MXA_SIZEOF_CHAR @MXA_SIZEOF_CHAR@ # define MXA_SIZEOF_SHORT @MXA_SIZEOF_SHORT@ # define MXA_SIZEOF_INT@MXA_SIZEOF_INT@ # define MXA_SIZEOF_LONG @MXA_SIZEOF_LONG@ # defi

Re: [CMake] Testing the size of long throws error when more than one OS X Arch is passed

2009-11-17 Thread Michael Wild
On 18. Nov, 2009, at 24:55 , Michael Jackson wrote: On Nov 17, 2009, at 6:45 PM, Sean McBride wrote: On 11/17/09 5:57 PM, Michael Jackson said: cmake -DCMAKE_OSX_ARCHITECTURES='x86_64;i386' ../ Will throw the following error: -- Check size of size_t CMake Error at /Users/Shared/Toolkits/C

Re: [CMake] Testing the size of long throws error when more than one OS X Arch is passed

2009-11-17 Thread Michael Jackson
On Nov 17, 2009, at 6:45 PM, Sean McBride wrote: On 11/17/09 5:57 PM, Michael Jackson said: cmake -DCMAKE_OSX_ARCHITECTURES='x86_64;i386' ../ Will throw the following error: -- Check size of size_t CMake Error at /Users/Shared/Toolkits/CMake-2.6.4/share/cmake-2.6/ Modules/CheckTypeSize.cmake

[CMake] Testing the size of long throws error when more than one OS X Arch is passed

2009-11-17 Thread Michael Jackson
cmake -DCMAKE_OSX_ARCHITECTURES='x86_64;i386' ../ Will throw the following error: -- Check size of size_t CMake Error at /Users/Shared/Toolkits/CMake-2.6.4/share/cmake-2.6/ Modules/CheckTypeSize.cmake:89 (MESSAGE): CHECK_TYPE_SIZE found different results, consider setting CMAKE_OSX_ARCHITE