diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-01-15 17:38:06 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-01-15 17:38:06 (GMT) |
commit | a0ae5e9b896d9548a58b830f5ffad618313a854e (patch) | |
tree | a24c611d2023712db08c09cba013829c97a38f1a /java/examples/groups | |
parent | 4077d99645623929cf0c61779c98539efb6742e7 (diff) | |
download | hdf5-a0ae5e9b896d9548a58b830f5ffad618313a854e.zip hdf5-a0ae5e9b896d9548a58b830f5ffad618313a854e.tar.gz hdf5-a0ae5e9b896d9548a58b830f5ffad618313a854e.tar.bz2 |
HDFFV-11001 Add fine control over testing
Diffstat (limited to 'java/examples/groups')
-rw-r--r-- | java/examples/groups/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/examples/groups/CMakeLists.txt b/java/examples/groups/CMakeLists.txt index 9e43087..05ad995 100644 --- a/java/examples/groups/CMakeLists.txt +++ b/java/examples/groups/CMakeLists.txt @@ -55,7 +55,7 @@ foreach (h5_file ${HDF_JAVA_TEST_FILES}) endforeach () add_custom_target(H5Ex_G_Visit_files ALL COMMENT "Copying files needed by H5Ex_G_Visit tests" DEPENDS ${H5Ex_G_Visit_files_list}) -if (BUILD_TESTING) +if (BUILD_TESTING AND HDF5_TEST_EXAMPLES) get_property (target_name TARGET ${HDF5_JAVA_JNI_LIB_TARGET} PROPERTY OUTPUT_NAME) set (CMD_ARGS "-Dhdf.hdf5lib.H5.loadLibraryName=${target_name}$<$<CONFIG:Debug>:${CMAKE_DEBUG_POSTFIX}>;") |