Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix dependency issue to prevent problems with make -jx
authordegomme <augustin.degomme@unibas.ch>
Tue, 3 Apr 2018 21:02:06 +0000 (23:02 +0200)
committerdegomme <augustin.degomme@unibas.ch>
Tue, 3 Apr 2018 21:02:06 +0000 (23:02 +0200)
teshsuite/smpi/mpich3-test/f90/util/CMakeLists.txt

index a488dab..6f38ae4 100644 (file)
@@ -10,6 +10,8 @@ if(enable_smpi AND enable_smpi_MPICH3_testsuite AND SMPI_FORTRAN)
 
   #F90 version of the mtest library
   add_library(mtest_f90 STATIC ../util/mtestf90.f90)
 
   #F90 version of the mtest library
   add_library(mtest_f90 STATIC ../util/mtestf90.f90)
+  #fake dependency, to ensure mpi.mod is generated properly before
+  target_link_libraries(mtest_f90 mpi)
 endif()
 
 set(txt_files
 endif()
 
 set(txt_files