diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2018-12-31 15:20:27 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2018-12-31 15:20:27 (GMT) |
commit | 72124031ec497c0bccf5b9f89dc500a266e21dcf (patch) | |
tree | e5cb71953c937ad07ff831ddbac475bc817e325e /src/CMakeLists.txt | |
parent | 715272eeb74f0b3e51c865e4139e1a295d156371 (diff) | |
download | hdf5-72124031ec497c0bccf5b9f89dc500a266e21dcf.zip hdf5-72124031ec497c0bccf5b9f89dc500a266e21dcf.tar.gz hdf5-72124031ec497c0bccf5b9f89dc500a266e21dcf.tar.bz2 |
Add libhdf5_hl_fortran symlinks for libhdf5hl_fortran files.
Set ctest*.lsf.in.cmake scripts for sierra.
Correct src/CMakelists.txt syntax error.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 61cc05a..96cf7ab 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -943,17 +943,19 @@ if (BUILD_SHARED_LIBS) file (MAKE_DIRECTORY "${HDF5_BINARY_DIR}/shared") endif () -# This should perhaps be some kind of foreach or for loop for all of the files in the bin/batch directory. -# For today I'll do it for the two that I want to try. if (LOCAL_BATCH_TEST) - configure_file ( - ${HDF5_SOURCE_DIR}/bin/batch/ctestP.lsf.in.cmake - ${HDF5_SOURCE_DIR}/bin/batch ESCAPE_QUOTES @ONLY - ) - configure_file ( - ${HDF5_SOURCE_DIR}/bin/batch/ctestS.lsf.in.cmake - ${HDF5_SOURCE_DIR}/bin/batch ESCAPE_QUOTES @ONLY - ) + 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 + ) + 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 + ) + endif () endif () if (NOT EXISTS ${HDF5_GENERATED_SOURCE_DIR}/H5Tinit.c) |