X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d9d0310b37e3c0e23fc7b71ba76ff1fe2d640e36..588eef405b9b0cfaf52a7949de146776ff350b1e:/teshsuite/smpi/mpich-test/pt2pt/CMakeLists.txt diff --git a/teshsuite/smpi/mpich-test/pt2pt/CMakeLists.txt b/teshsuite/smpi/mpich-test/pt2pt/CMakeLists.txt index 4df3c012b6..01ee3eb649 100644 --- a/teshsuite/smpi/mpich-test/pt2pt/CMakeLists.txt +++ b/teshsuite/smpi/mpich-test/pt2pt/CMakeLists.txt @@ -1,9 +1,9 @@ cmake_minimum_required(VERSION 2.6) if(enable_smpi) - set(CMAKE_C_COMPILER "${CMAKE_BINARY_DIR}/bin/smpicc") - set(CMAKE_Fortran_COMPILER "${CMAKE_BINARY_DIR}/bin/smpiff") - set(CMAKE_Fortran_LINKER "${CMAKE_BINARY_DIR}/bin/smpicc") + set(CMAKE_C_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpicc") + set(CMAKE_Fortran_COMPILER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpiff") + set(CMAKE_Fortran_LINKER "${CMAKE_BINARY_DIR}/smpi_script/bin/smpicc") set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}") set(MPICH_FLAGS "-DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DUSE_STDARG=1 -DHAVE_LONG_DOUBLE=1 -DHAVE_PROTOTYPES=1 -DHAVE_SIGNAL_H=1 -DHAVE_SIGACTION=1 -DHAVE_SLEEP=1 -DHAVE_SYSCONF=1") @@ -99,7 +99,7 @@ if(enable_smpi) # add_executable(structf structf.f) add_executable(typebasef typebasef.f) add_executable(sendcplx sendcplx.f) - endif(SMPI_F2C) + endif() target_link_libraries(overtake m simgrid smpi ) target_link_libraries(bsendtest m simgrid smpi ) @@ -192,7 +192,7 @@ if(enable_smpi) target_link_libraries(sendfort m simgrid smpi f2c) # target_link_libraries(structf m simgrid smpi f2c) target_link_libraries(typebasef m simgrid smpi f2c) - endif(SMPI_F2C) + endif() set_target_properties(overtake PROPERTIES COMPILE_FLAGS "${MPICH_FLAGS}") set_target_properties(bsendtest PROPERTIES COMPILE_FLAGS "${MPICH_FLAGS}") @@ -285,8 +285,8 @@ if(enable_smpi) set_target_properties(sendfort PROPERTIES COMPILE_FLAGS "${MPICH_FLAGS}") # set_target_properties(structf PROPERTIES COMPILE_FLAGS "${MPICH_FLAGS}") set_target_properties(typebasef PROPERTIES COMPILE_FLAGS "${MPICH_FLAGS}") - endif(SMPI_F2C) -endif(enable_smpi) + endif() +endif() set(tesh_files ${tesh_files}