X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d9347ab3e960f0f098338c88a79724dbcf4a58bb..302db92b2c868b5f55ec8a32e440e5ecf3e94f5b:/teshsuite/smpi/mpich-test/CMakeLists.txt diff --git a/teshsuite/smpi/mpich-test/CMakeLists.txt b/teshsuite/smpi/mpich-test/CMakeLists.txt index ca3a518b6f..f5c12a7742 100644 --- a/teshsuite/smpi/mpich-test/CMakeLists.txt +++ b/teshsuite/smpi/mpich-test/CMakeLists.txt @@ -60,10 +60,8 @@ else() foreach(srcfile ${stdo_std_smpi}) set(dstfile ${srcfile}) string(REPLACE "${CMAKE_HOME_DIRECTORY}" "${CMAKE_BINARY_DIR}" dstfile "${dstfile}") - string(REGEX REPLACE "/[^/]*.stdo" "/" dstfile "${dstfile}") - string(REGEX REPLACE "/[^/]*.std" "/" dstfile "${dstfile}") #message("copy ${srcfile} to ${dstfile}") - file(COPY ${srcfile} DESTINATION ${dstfile}) + configure_file("${srcfile}" "${dstfile}" COPYONLY) endforeach() endif()