diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2019-01-05 13:49:19 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2019-01-05 13:49:19 (GMT) |
commit | 25fe692c5c5c37a904a0d2ba3f447e60396c30da (patch) | |
tree | f45636a8e6b03f9e1506f1707842a48dae533297 /src | |
parent | f9736d817e4b2e1c5ced39b232323c3b3f87d46a (diff) | |
download | hdf5-25fe692c5c5c37a904a0d2ba3f447e60396c30da.zip hdf5-25fe692c5c5c37a904a0d2ba3f447e60396c30da.tar.gz hdf5-25fe692c5c5c37a904a0d2ba3f447e60396c30da.tar.bz2 |
Configure build directory in batch scripts.
Diffstat (limited to 'src')
-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 96cf7ab..ff7402b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -947,13 +947,13 @@ if (LOCAL_BATCH_TEST) if (LOCAL_BATCH_SCRIPT_NAME) configure_file ( ${HDF5_SOURCE_DIR}/bin/batch/${LOCAL_BATCH_SCRIPT_NAME}.in.cmake - ${HDF5_SOURCE_DIR}/bin/batch/${LOCAL_BATCH_SCRIPT_NAME} ESCAPE_QUOTES @ONLY + ${HDF5_BINARY_DIR}/${LOCAL_BATCH_SCRIPT_NAME} ESCAPE_QUOTES @ONLY ) endif () if (LOCAL_BATCH_SCRIPT_PARALLEL_NAME) configure_file ( ${HDF5_SOURCE_DIR}/bin/batch/${LOCAL_BATCH_SCRIPT_PARALLEL_NAME}.in.cmake - ${HDF5_SOURCE_DIR}/bin/batch/${LOCAL_BATCH_SCRIPT_PARALLEL_NAME} ESCAPE_QUOTES @ONLY + ${HDF5_BINARY_DIR}/${LOCAL_BATCH_SCRIPT_PARALLEL_NAME} ESCAPE_QUOTES @ONLY ) endif () endif () |