summaryrefslogtreecommitdiffstats
path: root/java/examples/intro
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2022-08-29 16:00:42 (GMT)
committerGitHub <noreply@github.com>2022-08-29 16:00:42 (GMT)
commit5719187a34f8b72cafe846db434569dadf0f33f2 (patch)
treed3d2fcd1f8fffa3dec21576c2627aa30942ce8d5 /java/examples/intro
parent5097ff016f572d866109f09463bf5babdf25159f (diff)
downloadhdf5-5719187a34f8b72cafe846db434569dadf0f33f2.zip
hdf5-5719187a34f8b72cafe846db434569dadf0f33f2.tar.gz
hdf5-5719187a34f8b72cafe846db434569dadf0f33f2.tar.bz2
Fix Java tests for Developer build modes (#2079)
Diffstat (limited to 'java/examples/intro')
-rw-r--r--java/examples/intro/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/examples/intro/CMakeLists.txt b/java/examples/intro/CMakeLists.txt
index 2ba15c9..b1c35bc 100644
--- a/java/examples/intro/CMakeLists.txt
+++ b/java/examples/intro/CMakeLists.txt
@@ -54,7 +54,7 @@ endforeach ()
if (BUILD_TESTING AND HDF5_TEST_EXAMPLES AND HDF5_TEST_SERIAL)
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}>;")
+ set (CMD_ARGS "-Dhdf.hdf5lib.H5.loadLibraryName=${target_name}$<$<OR:$<CONFIG:Debug>,$<CONFIG:Developer>>:${CMAKE_DEBUG_POSTFIX}>;")
foreach (example ${HDF_JAVA_EXAMPLES})
add_test (