Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot//simgrid/simgrid
[simgrid.git] / examples / gras / spawn / CMakeLists.txt
index 049002dfebf09b6b1ebb43eac31e7ca5d75142ac..0a7e4c0feed33430c9046b309f0d3cb309d945d2 100644 (file)
@@ -15,7 +15,8 @@ add_custom_command(OUTPUT   ${CMAKE_CURRENT_BINARY_DIR}/_spawn_server.c
                             ${CMAKE_CURRENT_BINARY_DIR}/_spawn_simulator.c
                    DEPENDS gras_stub_generator ${CMAKE_CURRENT_SOURCE_DIR}/spawn.xml
                    COMMAND ${CMAKE_BINARY_DIR}/bin/gras_stub_generator spawn ${CMAKE_CURRENT_SOURCE_DIR}/spawn.xml
-                  )
+                   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+                   )
           
 ### Add definitions for compile
 if(NOT WIN32)