diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-08-23 14:26:03 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-08-23 14:26:03 (GMT) |
commit | d731512875c9c04651cef1ee488c95f5e0a2b0f7 (patch) | |
tree | b4214568da19460451d153e69365e6303e3e7b70 /fortran | |
parent | 57fbbeb2b96b0509aa261ada6ff7e37d772a7911 (diff) | |
download | hdf5-d731512875c9c04651cef1ee488c95f5e0a2b0f7.zip hdf5-d731512875c9c04651cef1ee488c95f5e0a2b0f7.tar.gz hdf5-d731512875c9c04651cef1ee488c95f5e0a2b0f7.tar.bz2 |
[svn-r21298] Add fortran library depends to test fortran library build
Tested: local linux
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}) #----------------------------------------------------------------------------- |