summaryrefslogtreecommitdiffstats
path: root/Tests/Tutorial/Step6/MathFunctions
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-05-05 21:42:11 (GMT)
committerBrad King <brad.king@kitware.com>2010-05-05 21:46:29 (GMT)
commit0457d5315166892d6975ddf9829db7ecffb0499c (patch)
tree38ae16374cf08cc8910569c3027938b1e3758e5f /Tests/Tutorial/Step6/MathFunctions
parent7883f952b06e378eef7662a42a8c466cbe5aa285 (diff)
downloadCMake-0457d5315166892d6975ddf9829db7ecffb0499c.zip
CMake-0457d5315166892d6975ddf9829db7ecffb0499c.tar.gz
CMake-0457d5315166892d6975ddf9829db7ecffb0499c.tar.bz2
Use Fortran ABI detection results conservatively
We set CMAKE_Fortran_SIZEOF_DATA_PTR in the Fortran compiler information file after detecting the compiler ABI. However, since Fortran does not really have pointers, the preprocessor-based detection is unreliable. The result is needed to set CMAKE_SIZEOF_VOID_P only for Fortran-only projects because the value can come from C or C++ compilers otherwise. Therefore when CMAKE_SIZEOF_VOID_P is available from another language we should defer to it.
Diffstat (limited to 'Tests/Tutorial/Step6/MathFunctions')
0 files changed, 0 insertions, 0 deletions