Corrected logic error in cmake.

This commit is contained in:
Ward Fisher 2018-02-26 17:16:15 -07:00
parent 18c47417f7
commit cebe81a742

View File

@ -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()