mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +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)
|
||||
SET(TEST_PARALLEL4 ON CACHE BOOL "")
|
||||
ENDIF()
|
||||
ELSE()
|
||||
ENDIF()
|
||||
|
||||
IF (ENABLE_PARALLEL_TESTS AND NOT USE_PARALLEL)
|
||||
MESSAGE(FATAL_ERROR "Parallel tests requested, but no parallel HDF5 installation detected.")
|
||||
ENDIF()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user