Remove incorrect link var

This commit is contained in:
Allen Byrne 2017-11-01 13:50:13 -05:00
parent 9aa8e01e5c
commit f190509675
2 changed files with 0 additions and 3 deletions

View File

@ -2,7 +2,6 @@ cmake_minimum_required (VERSION 3.2.2)
PROJECT (HDF5_F90 C CXX Fortran) PROJECT (HDF5_F90 C CXX Fortran)
if (H5_HAVE_PARALLEL) if (H5_HAVE_PARALLEL)
set (LINK_LIBS ${LINK_LIBS} MPI::MPI_Fortran)
if (MPI_Fortran_LINK_FLAGS) if (MPI_Fortran_LINK_FLAGS)
set (CMAKE_EXE_LINKER_FLAGS "${MPI_Fortran_LINK_FLAGS} ${CMAKE_EXE_LINKER_FLAGS}") set (CMAKE_EXE_LINKER_FLAGS "${MPI_Fortran_LINK_FLAGS} ${CMAKE_EXE_LINKER_FLAGS}")
endif () endif ()

View File

@ -107,7 +107,6 @@ if (H5_HAVE_PARALLEL AND MPI_Fortran_FOUND)
target_link_libraries (f90_ex_ph5example target_link_libraries (f90_ex_ph5example
${HDF5_F90_LIB_TARGET} ${HDF5_F90_LIB_TARGET}
${HDF5_LIB_TARGET} ${HDF5_LIB_TARGET}
MPI::MPI_Fortran
) )
target_include_directories (f90_ex_ph5example PRIVATE ${CMAKE_Fortran_MODULE_DIRECTORY}/static) target_include_directories (f90_ex_ph5example PRIVATE ${CMAKE_Fortran_MODULE_DIRECTORY}/static)
set_target_properties (f90_ex_ph5example PROPERTIES set_target_properties (f90_ex_ph5example PROPERTIES
@ -122,7 +121,6 @@ if (H5_HAVE_PARALLEL AND MPI_Fortran_FOUND)
target_link_libraries (f90_ex_ph5example-shared target_link_libraries (f90_ex_ph5example-shared
${HDF5_F90_LIBSH_TARGET} ${HDF5_F90_LIBSH_TARGET}
${HDF5_LIBSH_TARGET} ${HDF5_LIBSH_TARGET}
MPI::MPI_Fortran
) )
target_include_directories (f90_ex_ph5example-shared PRIVATE ${CMAKE_Fortran_MODULE_DIRECTORY}/shared) target_include_directories (f90_ex_ph5example-shared PRIVATE ${CMAKE_Fortran_MODULE_DIRECTORY}/shared)
set_target_properties (f90_ex_ph5example-shared PROPERTIES set_target_properties (f90_ex_ph5example-shared PROPERTIES