diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-07-09 21:31:17 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-07-09 21:31:17 (GMT) |
commit | c43323a06d678604a363dc264c4c0ce4816ab049 (patch) | |
tree | f011985257ccbcca4e71b3daee9dcd23f2f47692 /java/test | |
parent | 89b2d1c8ce1f7b41343e45137ce8e037737ccd51 (diff) | |
download | hdf5-c43323a06d678604a363dc264c4c0ce4816ab049.zip hdf5-c43323a06d678604a363dc264c4c0ce4816ab049.tar.gz hdf5-c43323a06d678604a363dc264c4c0ce4816ab049.tar.bz2 |
HDFFV-10581 Correct PDB files and debug naming.
Diffstat (limited to 'java/test')
-rw-r--r-- | java/test/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/test/CMakeLists.txt b/java/test/CMakeLists.txt index b76f572..8464d25 100644 --- a/java/test/CMakeLists.txt +++ b/java/test/CMakeLists.txt @@ -87,7 +87,8 @@ else () set (CMAKE_JAVA_INCLUDE_FLAG_SEP ":") endif () -set (CMD_ARGS "-Dhdf.hdf5lib.H5.loadLibraryName=$<TARGET_PROPERTY:${HDF5_JAVA_JNI_LIB_TARGET},OUTPUT_NAME$<$<CONFIG:Debug>:_DEBUG>>;") +get_property (target_name TARGET ${HDF5_JAVA_JNI_LIB_TARGET} PROPERTY $<IF:$<CONFIG:Debug>,OUTPUT_NAME_DEBUG,OUTPUT_NAME_RELWITHDEBINFO>) +set (CMD_ARGS "-Dhdf.hdf5lib.H5.loadLibraryName=${target_name};") foreach (test_file ${HDF5_JAVA_TEST_SOURCES}) |