mirror of
https://github.com/Unidata/netcdf-cxx4.git
synced 2024-11-27 07:49:52 +08:00
Added a check to see if libnetcdf was built with parallel enabled.
This commit is contained in:
parent
4487dc44e6
commit
3760091cba
@ -316,6 +316,14 @@ ELSE()
|
|||||||
ENDIF()
|
ENDIF()
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
|
###
|
||||||
|
# Check to see if netcdf-c was built with parallel.
|
||||||
|
###
|
||||||
|
CHECK_LIBRARY_EXISTS(netcdf nc_use_parallel_enabled "" NC_IS_PARALLEL)
|
||||||
|
IF(NC_IS_PARALLEL)
|
||||||
|
SET(BUILD_PARALLEL ${NC_IS_PARALLEL} CACHE STRING "")
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
################################
|
################################
|
||||||
# End 'seek out dependent libraries'
|
# End 'seek out dependent libraries'
|
||||||
################################
|
################################
|
||||||
|
Loading…
Reference in New Issue
Block a user