mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
[svn-r27591] Threadsafe option implementation has changed and ALLOWUNSUPPORTED option needs to be used with TS to actually use of TS with Fortran and C++.
This commit is contained in:
parent
c491cf01bf
commit
01a1e8f1ca
@ -554,14 +554,16 @@ if (WIN32)
|
|||||||
endif (HDF5_ENABLE_PARALLEL)
|
endif (HDF5_ENABLE_PARALLEL)
|
||||||
if (HDF5_BUILD_FORTRAN)
|
if (HDF5_BUILD_FORTRAN)
|
||||||
if (NOT ALLOW_UNSUPPORTED)
|
if (NOT ALLOW_UNSUPPORTED)
|
||||||
message (FATAL_ERROR " **** Fortran and thread-safety options are not supported **** ")
|
message (STATUS " **** Fortran and thread-safety options are not supported **** ")
|
||||||
|
message (STATUS " **** thread-safety option will not be used building Fortran library **** ")
|
||||||
else (NOT ALLOW_UNSUPPORTED)
|
else (NOT ALLOW_UNSUPPORTED)
|
||||||
message (STATUS " **** Allowing unsupported Fortran and thread-safety options **** ")
|
message (STATUS " **** Allowing unsupported Fortran and thread-safety options **** ")
|
||||||
endif (NOT ALLOW_UNSUPPORTED)
|
endif (NOT ALLOW_UNSUPPORTED)
|
||||||
endif (HDF5_BUILD_FORTRAN)
|
endif (HDF5_BUILD_FORTRAN)
|
||||||
if (HDF5_BUILD_CPP_LIB)
|
if (HDF5_BUILD_CPP_LIB)
|
||||||
if (NOT ALLOW_UNSUPPORTED)
|
if (NOT ALLOW_UNSUPPORTED)
|
||||||
message (FATAL_ERROR " **** C++ and thread-safety options are not supported **** ")
|
message (STATUS " **** C++ and thread-safety options are not supported **** ")
|
||||||
|
message (STATUS " **** thread-safety option will not be used building C++ library **** ")
|
||||||
else (NOT ALLOW_UNSUPPORTED)
|
else (NOT ALLOW_UNSUPPORTED)
|
||||||
message (STATUS " **** Allowing unsupported C++ and thread-safety options **** ")
|
message (STATUS " **** Allowing unsupported C++ and thread-safety options **** ")
|
||||||
endif (NOT ALLOW_UNSUPPORTED)
|
endif (NOT ALLOW_UNSUPPORTED)
|
||||||
|
Loading…
Reference in New Issue
Block a user