summaryrefslogtreecommitdiffstats
path: root/Resources/HDF5Macros.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Resources/HDF5Macros.cmake')
-rw-r--r--Resources/HDF5Macros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Resources/HDF5Macros.cmake b/Resources/HDF5Macros.cmake
index cb1b300..8b30fbf 100644
--- a/Resources/HDF5Macros.cmake
+++ b/Resources/HDF5Macros.cmake
@@ -98,7 +98,7 @@ MACRO (H5_SET_LIB_OPTIONS libtarget libname libtype)
IF (BUILD_SHARED_LIBS)
IF (WIN32)
- SET (LIBHDF_VERSION HDF5_PACKAGE_VERSION_MAJOR)
+ SET (LIBHDF_VERSION ${HDF5_PACKAGE_VERSION_MAJOR})
ELSE (WIN32)
SET (LIBHDF_VERSION ${HDF5_PACKAGE_VERSION})
ENDIF (WIN32)