diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-08-29 19:23:22 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-08-29 19:23:22 (GMT) |
commit | 46c21c305aa10e72b64b66f937cf1d222b152356 (patch) | |
tree | d7bd7580a9321b598ce83e75b3eb75c6ef8d21f9 /src/CMakeLists.txt | |
parent | 172dba34271abcef98763624d46562bca3f147fb (diff) | |
download | hdf5-46c21c305aa10e72b64b66f937cf1d222b152356.zip hdf5-46c21c305aa10e72b64b66f937cf1d222b152356.tar.gz hdf5-46c21c305aa10e72b64b66f937cf1d222b152356.tar.bz2 |
Fix EXISTS test and add toolchain
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index bb1d171..86deb10 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -735,7 +735,7 @@ set (H5_PRIVATE_HEADERS ${HDF5_SRC_DIR}/H5Tprivate.h ${HDF5_SRC_DIR}/H5TSprivate.h - + ${HDF5_SRC_DIR}/H5VMprivate.h ${HDF5_SRC_DIR}/H5WBprivate.h @@ -797,7 +797,7 @@ if (BUILD_SHARED_LIBS) file (MAKE_DIRECTORY "${HDF5_BINARY_DIR}/shared") endif () -if (NOT EXISTS ${HDF5_GENERATED_SOURCE_DIR}/H5Tinit.c) +if (NOT EXISTS "${HDF5_GENERATED_SOURCE_DIR}/H5Tinit.c") add_executable (H5detect ${HDF5_SRC_DIR}/H5detect.c) target_include_directories (H5detect PRIVATE "${HDF5_SRC_DIR};${HDF5_BINARY_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>") target_compile_definitions(H5detect PUBLIC ${HDF_EXTRA_C_FLAGS} ${HDF_EXTRA_FLAGS}) |