From: Augustin Degomme Date: Mon, 7 Oct 2013 16:37:53 +0000 (+0200) Subject: Revert "fix windows cmake failing to detect it can actually use ucontexts" X-Git-Tag: v3_9_90~38^2~14 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a9bfe2ae9b4637af25e987cccf6ae7d82e570500?ds=sidebyside Revert "fix windows cmake failing to detect it can actually use ucontexts" This reverts commit f663389d95d7ac18adfc21c3478b944fefc9253a. --- diff --git a/buildtools/Cmake/CompleteInFiles.cmake b/buildtools/Cmake/CompleteInFiles.cmake index 7f6201d864..846f9ea617 100644 --- a/buildtools/Cmake/CompleteInFiles.cmake +++ b/buildtools/Cmake/CompleteInFiles.cmake @@ -415,7 +415,7 @@ IF(CMAKE_CROSSCOMPILING) ELSE() file(REMOVE "${CMAKE_BINARY_DIR}/testprog*") file(REMOVE ${CMAKE_BINARY_DIR}/conftestval) - execute_process(COMMAND "${CMAKE_C_COMPILER} ${CMAKE_HOME_DIRECTORY}/buildtools/Cmake/test_prog/prog_AC_CHECK_MCSC.c ${mcsc_flags} -o testprog" + execute_process(COMMAND ${CMAKE_C_COMPILER} ${CMAKE_HOME_DIRECTORY}/buildtools/Cmake/test_prog/prog_AC_CHECK_MCSC.c ${mcsc_flags} -o testprog WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/ OUTPUT_VARIABLE COMPILE_mcsc_VAR)