Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove conditions from else() and endif() in cmake file.
[simgrid.git] / teshsuite / smpi / mpich-test / env / CMakeLists.txt
index b671596..69f5b63 100644 (file)
@@ -25,7 +25,7 @@ if(enable_smpi)
 #  add_executable(errhandf errhandf.f)
 #  add_executable(errstringsf errstringsf.f)
   add_executable(getprocf getprocf.f)
 #  add_executable(errhandf errhandf.f)
 #  add_executable(errstringsf errstringsf.f)
   add_executable(getprocf getprocf.f)
-  endif(SMPI_F2C)
+  endif()
   target_link_libraries(init m simgrid smpi )
   target_link_libraries(timers m simgrid smpi )
   target_link_libraries(timertest m simgrid smpi )
   target_link_libraries(init m simgrid smpi )
   target_link_libraries(timers m simgrid smpi )
   target_link_libraries(timertest m simgrid smpi )
@@ -41,7 +41,7 @@ if(enable_smpi)
 #  target_link_libraries(errhandf m simgrid smpi )
 #  target_link_libraries(errstringsf m simgrid smpi )
   target_link_libraries(getprocf m simgrid smpi )
 #  target_link_libraries(errhandf m simgrid smpi )
 #  target_link_libraries(errstringsf m simgrid smpi )
   target_link_libraries(getprocf m simgrid smpi )
-  endif(SMPI_F2C)
+  endif()
 
   set_target_properties(timers PROPERTIES COMPILE_FLAGS "${MPICH_FLAGS}")
   set_target_properties(timers PROPERTIES COMPILE_FLAGS "${MPICH_FLAGS}")
 
   set_target_properties(timers PROPERTIES COMPILE_FLAGS "${MPICH_FLAGS}")
   set_target_properties(timers PROPERTIES COMPILE_FLAGS "${MPICH_FLAGS}")
@@ -58,8 +58,8 @@ if(enable_smpi)
 #  set_target_properties(errhandf PROPERTIES COMPILE_FLAGS "${MPICH_FLAGS}")
 #  set_target_properties(errstringsf PROPERTIES COMPILE_FLAGS "${MPICH_FLAGS}")
   set_target_properties(getprocf PROPERTIES COMPILE_FLAGS "${MPICH_FLAGS}")
 #  set_target_properties(errhandf PROPERTIES COMPILE_FLAGS "${MPICH_FLAGS}")
 #  set_target_properties(errstringsf PROPERTIES COMPILE_FLAGS "${MPICH_FLAGS}")
   set_target_properties(getprocf PROPERTIES COMPILE_FLAGS "${MPICH_FLAGS}")
-  endif(SMPI_F2C)
-endif(enable_smpi)
+  endif()
+endif()
 
 set(tesh_files
   ${tesh_files}
 
 set(tesh_files
   ${tesh_files}