diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-01-15 17:38:06 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:20:26 (GMT) |
commit | 6682c717e263ed3f3465766f9664f3b7ff115841 (patch) | |
tree | 3be4f156651c4fef09a0f66779fd72f577618c7b /java/examples/intro/CMakeLists.txt | |
parent | 9ebf36e8937995ae88243164a914e0743a8bbbd6 (diff) | |
download | hdf5-6682c717e263ed3f3465766f9664f3b7ff115841.zip hdf5-6682c717e263ed3f3465766f9664f3b7ff115841.tar.gz hdf5-6682c717e263ed3f3465766f9664f3b7ff115841.tar.bz2 |
HDFFV-11001 Add fine control over testing
Diffstat (limited to 'java/examples/intro/CMakeLists.txt')
-rw-r--r-- | java/examples/intro/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/examples/intro/CMakeLists.txt b/java/examples/intro/CMakeLists.txt index b56e3ad..d39396f 100644 --- a/java/examples/intro/CMakeLists.txt +++ b/java/examples/intro/CMakeLists.txt @@ -45,7 +45,7 @@ foreach (HDFJAVA_JAR ${CMAKE_JAVA_INCLUDE_PATH}) set (CMAKE_JAVA_CLASSPATH "${CMAKE_JAVA_CLASSPATH}${CMAKE_JAVA_INCLUDE_FLAG_SEP}${HDFJAVA_JAR}") endforeach () -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}>;") |