Commit 55b75e42 authored by Dan Lipsa's avatar Dan Lipsa

Fix hdf5 library names for VTK (and ParaView).

Change-Id: I6686578b7255f164f51d7250116978f099ef373c
parent 09f0204d
......@@ -75,7 +75,12 @@ ENDMACRO (INSTALL_PROGRAM_PDB)
#-------------------------------------------------------------------------------
MACRO (HDF_SET_LIB_OPTIONS libtarget _libname libtype)
set (libname "${_libname}${VTK_CUSTOM_LIBRARY_SUFFIX}")
if(DEFINED VTK_CUSTOM_LIBRARY_SUFFIX)
set(_lib_suffix "${VTK_CUSTOM_LIBRARY_SUFFIX}")
else()
set(_lib_suffix "-${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION}")
endif()
set (libname "${_libname}${_lib_suffix}")
# message (STATUS "${libname} libtype: ${libtype}")
# We don't mangle library names based on build type or platform.
set (LIB_RELEASE_NAME "${libname}")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment