diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-08-23 14:27:52 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-08-23 14:27:52 (GMT) |
commit | f59d217a61984677ec648554b770ebda73059965 (patch) | |
tree | 7204a7d579b9ecd9c3fa97eeedb66274b7007f07 /fortran | |
parent | 77baa075f4d90c0ad84b65debf9dc46a190819cb (diff) | |
download | hdf5-f59d217a61984677ec648554b770ebda73059965.zip hdf5-f59d217a61984677ec648554b770ebda73059965.tar.gz hdf5-f59d217a61984677ec648554b770ebda73059965.tar.bz2 |
[svn-r21299] Add fortran library depends to test fortran library build
Diffstat (limited to 'fortran')
-rw-r--r-- | fortran/test/CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/fortran/test/CMakeLists.txt b/fortran/test/CMakeLists.txt index eab7180..90de6a9 100644 --- a/fortran/test/CMakeLists.txt +++ b/fortran/test/CMakeLists.txt @@ -30,12 +30,16 @@ IF (WIN32 AND NOT CYGWIN) ENDIF (BUILD_SHARED_LIBS) SET_PROPERTY (TARGET ${HDF5_F90_TEST_LIB_TARGET} APPEND PROPERTY COMPILE_DEFINITIONS - HDF5F90_WINDOWS + HDF5F90_WINDOWS ) ENDIF (WIN32 AND NOT CYGWIN) TARGET_FORTRAN_WIN_PROPERTIES (${HDF5_F90_TEST_LIB_TARGET} ${SHARED_LINK_FLAGS}) SET_TARGET_PROPERTIES (${HDF5_F90_TEST_LIB_TARGET} PROPERTIES LINKER_LANGUAGE Fortran) -TARGET_LINK_LIBRARIES (${HDF5_F90_TEST_LIB_TARGET} ${HDF5_F90_C_TEST_LIB_TARGET}) +TARGET_LINK_LIBRARIES (${HDF5_F90_TEST_LIB_TARGET} + ${HDF5_F90_C_TEST_LIB_TARGET} + ${HDF5_F90_LIB_TARGET} + ${HDF5_LIB_TARGET} +) H5_SET_LIB_OPTIONS (${HDF5_F90_TEST_LIB_TARGET} ${HDF5_F90_TEST_LIB_NAME} ${LIB_TYPE}) #----------------------------------------------------------------------------- |