Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix out of dir builds
[simgrid.git] / examples / s4u / CMakeLists.txt
index 1a15301d46205a3c9c83b5351bb81b7e72d4d72c..f91d36412db246278baa0019fc6bc7da6c769819 100644 (file)
@@ -77,6 +77,6 @@ foreach(example actions-comm actions-storage
   ADD_TESH_FACTORIES(s4u-${example} "thread;ucontext;raw;boost" 
                                     --setenv bindir=${CMAKE_CURRENT_BINARY_DIR}/${example} 
                                    --setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms 
-                                   --cd ${CMAKE_CURRENT_BINARY_DIR}/${example} 
+                                   --cd ${CMAKE_CURRENT_SOURCE_DIR}/${example} 
                                    ${CMAKE_HOME_DIRECTORY}/examples/s4u/${example}/s4u-${example}.tesh)
 endforeach()