diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2015-03-23 17:06:37 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2015-03-23 17:06:37 (GMT) |
commit | 551f4ed8dea937a4dcc0b12f1e52ff31f9ddead1 (patch) | |
tree | 6abc0dce3bd3504a1b774c749b7378620cd06122 /hl | |
parent | 5bfbb1eba897b6ac518bfba5047f9de85c2ce45b (diff) | |
download | hdf5-551f4ed8dea937a4dcc0b12f1e52ff31f9ddead1.zip hdf5-551f4ed8dea937a4dcc0b12f1e52ff31f9ddead1.tar.gz hdf5-551f4ed8dea937a4dcc0b12f1e52ff31f9ddead1.tar.bz2 |
[svn-r26531] Merge CMake packaging from trunk to 1.8
Tested: windows
Diffstat (limited to 'hl')
-rw-r--r-- | hl/fortran/src/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hl/fortran/src/CMakeLists.txt b/hl/fortran/src/CMakeLists.txt index c3a6562..f489224 100644 --- a/hl/fortran/src/CMakeLists.txt +++ b/hl/fortran/src/CMakeLists.txt @@ -45,6 +45,7 @@ set (HDF5_HL_F90_F_SRCS ${HDF5_HL_F90_SRC_SOURCE_DIR}/H5LTff.f90 ${HDF5_HL_F90_SRC_SOURCE_DIR}/H5IMff.f90 ) +set_source_files_properties (${HDF5_HL_F90_F_SRCS} PROPERTIES LANGUAGE Fortran) add_library (${HDF5_HL_F90_LIB_TARGET} ${LIB_TYPE} ${HDF5_HL_F90_F_SRCS}) set (SHARED_LINK_FLAGS " ") @@ -72,6 +73,7 @@ set_global_variable (HDF5_LIBRARIES_TO_EXPORT "${HDF5_LIBRARIES_TO_EXPORT};${HDF H5_SET_LIB_OPTIONS (${HDF5_HL_F90_LIB_TARGET} ${HDF5_HL_F90_LIB_NAME} ${LIB_TYPE}) set_target_properties (${HDF5_HL_F90_LIB_TARGET} PROPERTIES FOLDER libraries/hl/fortran + LINKER_LANGUAGE Fortran INTERFACE_INCLUDE_DIRECTORIES "$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/include>" ) |