diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-08-30 14:25:43 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-08-30 14:25:43 (GMT) |
commit | 919b2c21d0b932552d27cdc4f12389ef86840fd5 (patch) | |
tree | 39f0894a4d0167876a3643d2d809b6b97fbb6715 /src/CMakeLists.txt | |
parent | 172dba34271abcef98763624d46562bca3f147fb (diff) | |
parent | aedd884ff44169c067f1cc1755a31352ae35651b (diff) | |
download | hdf5-919b2c21d0b932552d27cdc4f12389ef86840fd5.zip hdf5-919b2c21d0b932552d27cdc4f12389ef86840fd5.tar.gz hdf5-919b2c21d0b932552d27cdc4f12389ef86840fd5.tar.bz2 |
Merge pull request #1913 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_8 to hdf5_1_8
* commit 'aedd884ff44169c067f1cc1755a31352ae35651b':
Fix namespace usage
Fix EXISTS test syntax
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}) |