summaryrefslogtreecommitdiffstats
path: root/hl/fortran/test
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-03-01 16:54:26 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-03-01 16:54:26 (GMT)
commit1653bb14324c2edc1a0c0336eb9f327d4f2e76b9 (patch)
tree84bc98bec237d7bbe934686a11e2e8cc5a91513f /hl/fortran/test
parenta87a2cf81571a1e0ed466942c389e574d6d9bab5 (diff)
downloadhdf5-1653bb14324c2edc1a0c0336eb9f327d4f2e76b9.zip
hdf5-1653bb14324c2edc1a0c0336eb9f327d4f2e76b9.tar.gz
hdf5-1653bb14324c2edc1a0c0336eb9f327d4f2e76b9.tar.bz2
Add option TEST_SHARED_PROGRAMS to disable shared testing by default
Diffstat (limited to 'hl/fortran/test')
-rw-r--r--hl/fortran/test/CMakeTests.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/fortran/test/CMakeTests.cmake b/hl/fortran/test/CMakeTests.cmake
index 5af9ced..0895942 100644
--- a/hl/fortran/test/CMakeTests.cmake
+++ b/hl/fortran/test/CMakeTests.cmake
@@ -32,7 +32,7 @@ set_tests_properties (HL_FORTRAN_f90_tstimage PROPERTIES DEPENDS HL_FORTRAN_test
add_test (NAME HL_FORTRAN_f90_tsttable COMMAND $<TARGET_FILE:hl_f90_tsttable>)
set_tests_properties (HL_FORTRAN_f90_tsttable PROPERTIES DEPENDS HL_FORTRAN_test-clear-objects)
-if (BUILD_SHARED_LIBS AND NOT SKIP_HDF5_FORTRAN_SHARED)
+if (BUILD_SHARED_LIBS AND TEST_SHARED_PROGRAMS AND NOT SKIP_HDF5_FORTRAN_SHARED)
add_test (
NAME HL_FORTRAN_test-shared-clear-objects
COMMAND ${CMAKE_COMMAND}