diff --git a/CMakeLists.txt b/CMakeLists.txt index e8d4b30c1f..a8f214fe94 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -856,7 +856,7 @@ IF(USE_HDF5) # This needs to be near the beginning since we # need to know whether to add "-lz" to the symbol # tests below. - CHECK_C_SOURCE_COMPILES("#include + CHECK_C_SOURCE_COMPILES("#include #if !H5_HAVE_ZLIB_H #error #endif @@ -879,7 +879,7 @@ IF(USE_HDF5) ENDIF() #Check to see if H5Z_SZIP exists in HDF5_Libraries. If so, we must use szip library. - CHECK_C_SOURCE_COMPILES("#include + CHECK_C_SOURCE_COMPILES("#include #if !H5_HAVE_FILTER_SZIP #error #endif