diff options
author | Chuck Atkins <chuck.atkins@kitware.com> | 2017-06-15 20:04:01 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-06-16 15:40:02 (GMT) |
commit | 8b9d8c4ddc9ff4d4cac396e84c8a44c622871ee9 (patch) | |
tree | fdf98d4421fb711ffbf12336246134ce7dbf17e6 /Modules/CMakeCommonLanguageInclude.cmake | |
parent | c52b982da6fc6387ba66a15c097ae90f69980ef5 (diff) | |
download | CMake-8b9d8c4ddc9ff4d4cac396e84c8a44c622871ee9.zip CMake-8b9d8c4ddc9ff4d4cac396e84c8a44c622871ee9.tar.gz CMake-8b9d8c4ddc9ff4d4cac396e84c8a44c622871ee9.tar.bz2 |
FindHDF5: Fix parallel detection when primary compiler is an HDF5 wrapper
This is covering a different use case where your primary compilers are
HDF5 wrappers, as is the case when using the Cray Programming
Environment. The existing code tries to query the compiler using options
only available to h5cc and friends, which doesn't work when your wrapper
is not h5cc, as is the case with the CrayPE. This change instead pulls
strings out of a test binary when testing for "is your regular compiler
an HDF5 wrapper" while the "query wrapper for options" is reserved for
the "I found the hdf5 wrappers but they're not your main compiler" mode.
Diffstat (limited to 'Modules/CMakeCommonLanguageInclude.cmake')
0 files changed, 0 insertions, 0 deletions