summaryrefslogtreecommitdiffstats
path: root/fortran/test
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2020-12-16 18:17:12 (GMT)
committerGitHub <noreply@github.com>2020-12-16 18:17:12 (GMT)
commit3114e5f4a49131ca1e26cbf1e614f7e867a20285 (patch)
tree68cde408dd4200442d88046cecabb038ce8cee80 /fortran/test
parenta84a29566c22ab46146f8127ea4289937c59c526 (diff)
downloadhdf5-3114e5f4a49131ca1e26cbf1e614f7e867a20285.zip
hdf5-3114e5f4a49131ca1e26cbf1e614f7e867a20285.tar.gz
hdf5-3114e5f4a49131ca1e26cbf1e614f7e867a20285.tar.bz2
HDF5 1 8 fix fortran build on macs (#186)
* Correct fortran and shared libs option * Fix for no shared fortran build
Diffstat (limited to 'fortran/test')
-rw-r--r--fortran/test/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/test/CMakeLists.txt b/fortran/test/CMakeLists.txt
index 10fb66d..6a4bef1 100644
--- a/fortran/test/CMakeLists.txt
+++ b/fortran/test/CMakeLists.txt
@@ -57,7 +57,7 @@ endif ()
# Add Target to clang-format
#-----------------------------------------------------------------------------
if (HDF5_ENABLE_FORMATTERS)
- if (NOT BUILD_SHARED_LIBS)
+ if (NOT ONLY_SHARED_LIBS)
clang_format (HDF5_FORTRAN_TESTS_FORMAT ${HDF5_F90_C_TEST_LIB_TARGET})
else ()
clang_format (HDF5_FORTRAN_TESTS_FORMAT ${HDF5_F90_C_TEST_LIBSH_TARGET})