summaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-01-09 15:56:28 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-01-09 15:56:28 (GMT)
commitbe42e047913c332f148db3b8a9180e6a2eb5c23a (patch)
tree23276c4d161389897d8c495d3be5fe33081165ac /java/src
parent823755ace8b7c90bab277c691ebbcc8683bde0df (diff)
downloadhdf5-be42e047913c332f148db3b8a9180e6a2eb5c23a.zip
hdf5-be42e047913c332f148db3b8a9180e6a2eb5c23a.tar.gz
hdf5-be42e047913c332f148db3b8a9180e6a2eb5c23a.tar.bz2
HDFFV-10385 refactor CMAKE_BUILD_TYPE usage
Diffstat (limited to 'java/src')
-rw-r--r--java/src/jni/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/jni/CMakeLists.txt b/java/src/jni/CMakeLists.txt
index 10d1b6d..90343b2 100644
--- a/java/src/jni/CMakeLists.txt
+++ b/java/src/jni/CMakeLists.txt
@@ -57,7 +57,7 @@ SET_GLOBAL_VARIABLE (HDF5_LIBRARIES_TO_EXPORT "${HDF5_LIBRARIES_TO_EXPORT};${HDF
H5_SET_LIB_OPTIONS (${HDF5_JAVA_JNI_LIB_TARGET} ${HDF5_JAVA_JNI_LIB_NAME} SHARED ${HDF5_JAVA_PACKAGE_SOVERSION})
if (WIN32)
get_filename_component (HDF5_JAVA_JNI_DLL_NAME ${HDF5_JAVA_JNI_LIB_TARGET} NAME_WE)
- if (CMAKE_BUILD_TYPE MATCHES Debug)
+ if (HDF5_BUILD_TYPE MATCHES Debug)
set (HDF5_JAVA_JNI_DLL_NAME "${HDF5_JAVA_JNI_DLL_NAME}_D")
endif ()
# message (STATUS "HDF5_JAVA_JNI_DLL_NAME: ${HDF5_JAVA_JNI_DLL_NAME}")