Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Also add the mpich3 binaries in the dependencies of make tests
[simgrid.git] / teshsuite / smpi / mpich3-test / f90 / init / CMakeLists.txt
index de127c5..cd3e8f3 100644 (file)
@@ -6,10 +6,10 @@ if(enable_smpi AND enable_smpi_MPICH3_testsuite AND SMPI_FORTRAN)
     set(CMAKE_Fortran_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpif90")
   endif()
 
-  set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
   include_directories(BEFORE "${CMAKE_HOME_DIRECTORY}/include/smpi")
 
-  add_executable(baseenvf90 baseenvf90.f90)
+  add_executable(baseenvf90 EXCLUDE_FROM_ALL baseenvf90.f90)
+  add_dependencies(tests baseenvf90)
   target_link_libraries(baseenvf90 simgrid mtest_f90)
 endif()