File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,9 +112,9 @@ if (HDF5_BUILD_JAVA)
112112 set (HDF5_JARHDF5_JAR_NAME "jarhdf5-${HDF5_PACKAGE_VERSION} .jar" )
113113 set (HDF5_JAVAHDF5_JAR_NAME "javahdf5-${HDF5_PACKAGE_VERSION} .jar" )
114114 endif ()
115- # slf4j JAR names (these are dependencies, version shouldn't change with SNAPSHOT)
116- set (HDF5_SLF4J_API_JAR_NAME "slf4j-api-2.0.16.jar" )
117- set (HDF5_SLF4J_NOP_JAR_NAME "slf4j-nop-2.0.16.jar" )
115+ # slf4j JAR names derived from configured paths so overrides are reflected in the exported config
116+ get_filename_component (HDF5_SLF4J_API_JAR_NAME ${HDF5_JAVA_LOGGING_JAR} NAME )
117+ get_filename_component (HDF5_SLF4J_NOP_JAR_NAME ${HDF5_JAVA_LOGGING_NOP_JAR} NAME )
118118endif ()
119119
120120#-----------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments