diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-04-25 14:19:16 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-04-25 14:19:16 (GMT) |
commit | 9c3041b1294c0adae8b0462f443ab3274cc27ea7 (patch) | |
tree | c7f66359d2e5297748b8cebb5e2e5569406d5e02 | |
parent | 06033d1d399418a23e76a9418cc050f40782afc0 (diff) | |
parent | 64fa9327d008c0c3d17c9489c32d99e0d514f88e (diff) | |
download | hdf5-9c3041b1294c0adae8b0462f443ab3274cc27ea7.zip hdf5-9c3041b1294c0adae8b0462f443ab3274cc27ea7.tar.gz hdf5-9c3041b1294c0adae8b0462f443ab3274cc27ea7.tar.bz2 |
Merge pull request #2538 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '64fa9327d008c0c3d17c9489c32d99e0d514f88e':
Add "override with" to error message
HDFFV-10576 add Option name to Error Message
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7d6e7a2..b559446 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -777,28 +777,28 @@ if (HDF5_ENABLE_THREADSAFE) endif () if (HDF5_ENABLE_PARALLEL) if (NOT ALLOW_UNSUPPORTED) - message (FATAL_ERROR " **** parallel and thread-safety options are not supported **** ") + message (FATAL_ERROR " **** parallel and thread-safety options are not supported, override with ALLOW_UNSUPPORTED option **** ") else () message (STATUS " **** Allowing unsupported parallel and thread-safety options **** ") endif () endif () if (HDF5_BUILD_FORTRAN) if (NOT ALLOW_UNSUPPORTED) - message (FATAL_ERROR " **** Fortran and thread-safety options are not supported **** ") + message (FATAL_ERROR " **** Fortran and thread-safety options are not supported, override with ALLOW_UNSUPPORTED option **** ") else () message (STATUS " **** Allowing unsupported Fortran and thread-safety options **** ") endif () endif () if (HDF5_BUILD_CPP_LIB) if (NOT ALLOW_UNSUPPORTED) - message (FATAL_ERROR " **** C++ and thread-safety options are not supported **** ") + message (FATAL_ERROR " **** C++ and thread-safety options are not supported, override with ALLOW_UNSUPPORTED option **** ") else () message (STATUS " **** Allowing unsupported C++ and thread-safety options **** ") endif () endif () if (HDF5_BUILD_HL_LIB) if (NOT ALLOW_UNSUPPORTED) - message (FATAL_ERROR " **** HL and thread-safety options are not supported **** ") + message (FATAL_ERROR " **** HL and thread-safety options are not supported, override with ALLOW_UNSUPPORTED option **** ") else () message (STATUS " **** Allowing unsupported HL and thread-safety options **** ") endif () @@ -1014,7 +1014,7 @@ if (EXISTS "${HDF5_SOURCE_DIR}/c++" AND IS_DIRECTORY "${HDF5_SOURCE_DIR}/c++") # check for unsupported options if (HDF5_ENABLE_PARALLEL) if (NOT ALLOW_UNSUPPORTED) - message (FATAL_ERROR " **** Parallel and C++ options are mutually exclusive **** ") + message (FATAL_ERROR " **** Parallel and C++ options are mutually exclusive, override with ALLOW_UNSUPPORTED option **** ") else () message (STATUS " **** Allowing unsupported Parallel and C++ options **** ") endif () |