summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-02-28 22:54:56 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-02-28 22:54:56 (GMT)
commita87a2cf81571a1e0ed466942c389e574d6d9bab5 (patch)
tree1b4576d7a12eedbd1ee3c7b593a7d7630be8e4f0 /fortran
parentfeed94ede2e23f14fd747d0e1d224047ec4bb532 (diff)
downloadhdf5-a87a2cf81571a1e0ed466942c389e574d6d9bab5.zip
hdf5-a87a2cf81571a1e0ed466942c389e574d6d9bab5.tar.gz
hdf5-a87a2cf81571a1e0ed466942c389e574d6d9bab5.tar.bz2
Merge CMake FindMPI changes and CMake documentation from develop
Diffstat (limited to 'fortran')
-rw-r--r--fortran/testpar/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/fortran/testpar/CMakeLists.txt b/fortran/testpar/CMakeLists.txt
index ae88ebc..909cbaf 100644
--- a/fortran/testpar/CMakeLists.txt
+++ b/fortran/testpar/CMakeLists.txt
@@ -4,7 +4,7 @@ PROJECT (HDF5_FORTRAN_TESTPAR C CXX Fortran)
#-----------------------------------------------------------------------------
# Setup include Directories
#-----------------------------------------------------------------------------
-INCLUDE_DIRECTORIES (${HDF5_F90_BINARY_DIR} ${HDF5_F90_SRC_DIR}/src)
+INCLUDE_DIRECTORIES (${MPI_Fortran_INCLUDE_PATH} ${HDF5_F90_BINARY_DIR} ${HDF5_F90_SRC_DIR}/src)
#-----------------------------------------------------------------------------
# Add Tests
@@ -22,7 +22,7 @@ target_link_libraries (parallel_test
${HDF5_F90_TEST_LIB_TARGET}
${HDF5_F90_LIB_TARGET}
${HDF5_LIB_TARGET}
- ${MPI_Fortran_LIBRARIES}
+ ${LINK_Fortran_LIBS}
)
if (WIN32 AND MSVC)
target_link_libraries (parallel_test "ws2_32.lib")