diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-01-30 18:21:01 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-01-30 18:21:01 (GMT) |
commit | 2f18da435e537118e1405f7f9fef3f3e29a346f2 (patch) | |
tree | f21b3f34c568e31e0198d09653a6a750614960d2 /fortran | |
parent | bd7bc909ed2c950e75772c3876f9a236799565c5 (diff) | |
download | hdf5-2f18da435e537118e1405f7f9fef3f3e29a346f2.zip hdf5-2f18da435e537118e1405f7f9fef3f3e29a346f2.tar.gz hdf5-2f18da435e537118e1405f7f9fef3f3e29a346f2.tar.bz2 |
HDFFV-10398 use the simpler add_subdirectory signature
Diffstat (limited to 'fortran')
-rw-r--r-- | fortran/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fortran/CMakeLists.txt b/fortran/CMakeLists.txt index 075e1da..a0f92d3 100644 --- a/fortran/CMakeLists.txt +++ b/fortran/CMakeLists.txt @@ -10,21 +10,21 @@ endif () #----------------------------------------------------------------------------- # Traverse source subdirectory #----------------------------------------------------------------------------- -add_subdirectory (${HDF5_F90_SOURCE_DIR}/src ${HDF5_F90_BINARY_DIR}/src) +add_subdirectory (src) #----------------------------------------------------------------------------- # Build the Fortran Examples #----------------------------------------------------------------------------- if (HDF5_BUILD_EXAMPLES) - add_subdirectory (${HDF5_F90_SOURCE_DIR}/examples ${HDF5_F90_BINARY_DIR}/examples) + add_subdirectory (examples) endif () #----------------------------------------------------------------------------- # Testing #----------------------------------------------------------------------------- if (BUILD_TESTING) - add_subdirectory (${HDF5_F90_SOURCE_DIR}/test ${HDF5_F90_BINARY_DIR}/test) + add_subdirectory (test) if (MPI_Fortran_FOUND) - add_subdirectory (${HDF5_F90_SOURCE_DIR}/testpar ${HDF5_F90_BINARY_DIR}/testpar) + add_subdirectory (testpar) endif () endif () |