mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-23 16:59:54 +08:00
Corrected logic error in cmake.
This commit is contained in:
parent
18c47417f7
commit
cebe81a742
@ -1091,7 +1091,9 @@ IF(ENABLE_PARALLEL_TESTS AND USE_PARALLEL)
|
|||||||
IF(USE_NETCDF4)
|
IF(USE_NETCDF4)
|
||||||
SET(TEST_PARALLEL4 ON CACHE BOOL "")
|
SET(TEST_PARALLEL4 ON CACHE BOOL "")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
ELSE()
|
ENDIF()
|
||||||
|
|
||||||
|
IF (ENABLE_PARALLEL_TESTS AND NOT USE_PARALLEL)
|
||||||
MESSAGE(FATAL_ERROR "Parallel tests requested, but no parallel HDF5 installation detected.")
|
MESSAGE(FATAL_ERROR "Parallel tests requested, but no parallel HDF5 installation detected.")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user