summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-02-11 19:13:37 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-02-11 19:13:37 (GMT)
commit1caf582a4b1533b435441c720889eafec764bf41 (patch)
tree2d938cf135b8e3d55211d27c1d5a66dec057860d /hl
parente76b6e8bb16af4bb24e18983e438e1bb74a4af04 (diff)
downloadhdf5-1caf582a4b1533b435441c720889eafec764bf41.zip
hdf5-1caf582a4b1533b435441c720889eafec764bf41.tar.gz
hdf5-1caf582a4b1533b435441c720889eafec764bf41.tar.bz2
[svn-r20084] Add missing library reference
Tested: windows
Diffstat (limited to 'hl')
-rw-r--r--hl/fortran/src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/fortran/src/CMakeLists.txt b/hl/fortran/src/CMakeLists.txt
index d6f522c..36e1cd5 100644
--- a/hl/fortran/src/CMakeLists.txt
+++ b/hl/fortran/src/CMakeLists.txt
@@ -25,7 +25,7 @@ SET (HDF5_HL_F90_HEADERS ${HDF5_HL_F90_SRC_SOURCE_DIR}/H5LTf90proto.h)
SET_SOURCE_FILES_PROPERTIES (${HDF5_HL_F90_HEADERS} PROPERTIES LANGUAGE C)
ADD_LIBRARY (${HDF5_HL_F90_C_LIB_TARGET} ${LIB_TYPE} ${HDF5_HL_F90_C_SRCS} ${HDF5_HL_F90_HEADERS})
-TARGET_LINK_LIBRARIES (${HDF5_HL_F90_C_LIB_TARGET} ${HDF5_HL_LIB_TARGET})
+TARGET_LINK_LIBRARIES (${HDF5_HL_F90_C_LIB_TARGET} ${HDF5_F90_C_LIB_TARGET} ${HDF5_HL_LIB_TARGET})
SET_GLOBAL_VARIABLE (HDF5_LIBRARIES_TO_EXPORT "${HDF5_LIBRARIES_TO_EXPORT};${HDF5_HL_F90_C_LIB_TARGET}")
H5_SET_LIB_OPTIONS (${HDF5_HL_F90_C_LIB_TARGET} ${HDF5_HL_F90_C_LIB_NAME} ${LIB_TYPE})