diff options
| author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2018-02-01 16:06:06 (GMT) |
|---|---|---|
| committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2018-02-01 16:06:06 (GMT) |
| commit | 66e5f283c554f6ae84fbfafc6a8476a35dfcf3d0 (patch) | |
| tree | 509ec74601358f6715dd2e18f4f9e8aef22e71c5 /java/examples/groups | |
| parent | 4c0440e61f5bc57f12406b523e9545980e9e6b70 (diff) | |
| parent | b86cc6ea841c24a0513c95b8e6d9aaac209c0fb8 (diff) | |
| download | hdf5-66e5f283c554f6ae84fbfafc6a8476a35dfcf3d0.zip hdf5-66e5f283c554f6ae84fbfafc6a8476a35dfcf3d0.tar.gz hdf5-66e5f283c554f6ae84fbfafc6a8476a35dfcf3d0.tar.bz2 | |
Merge branch 'bugfix/version_bounds' of https://bitbucket.hdfgroup.org/scm/~bmribler/version_bounds_bmr into bugfix/version_bounds
Diffstat (limited to 'java/examples/groups')
| -rw-r--r-- | java/examples/groups/CMakeLists.txt | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/java/examples/groups/CMakeLists.txt b/java/examples/groups/CMakeLists.txt index 7f2801a..56c92fe 100644 --- a/java/examples/groups/CMakeLists.txt +++ b/java/examples/groups/CMakeLists.txt @@ -61,13 +61,7 @@ endforeach () add_custom_target(H5Ex_G_Visit_files ALL COMMENT "Copying files needed by H5Ex_G_Visit tests" DEPENDS ${H5Ex_G_Visit_files_list}) MACRO (ADD_H5_TEST resultfile resultcode) - if (HDF5_BUILD_TYPE MATCHES Debug) - if (WIN32) - set (CMD_ARGS "-Dhdf.hdf5lib.H5.loadLibraryName=hdf5_java_D;") - else () - set (CMD_ARGS "-Dhdf.hdf5lib.H5.loadLibraryName=hdf5_java_debug;") - endif () - endif () + set (CMD_ARGS "-Dhdf.hdf5lib.H5.loadLibraryName=$<TARGET_PROPERTY:${HDF5_JAVA_JNI_LIB_TARGET},OUTPUT_NAME$<$<CONFIG:Debug>:_DEBUG>>;") add_test ( NAME JAVA_groups-${resultfile} COMMAND "${CMAKE_COMMAND}" |
