Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
don't throw away existing LD_LIBRARY_PATH in our tests.
[simgrid.git] / examples / python / CMakeLists.txt
index 3077640..485047a 100644 (file)
@@ -8,7 +8,7 @@ foreach(example actor-create actor-daemon actor-join actor-kill actor-migrate ac
     ADD_TESH(python-${example} --setenv srcdir=${CMAKE_CURRENT_SOURCE_DIR}/${example}
                                --setenv platfdir=${CMAKE_HOME_DIRECTORY}/examples/platforms
                                --setenv pythoncmd=${PYTHON_EXECUTABLE}
-                              --setenv LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/lib
+                              --setenv LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/lib:$ENV{LD_LIBRARY_PATH}
                               --setenv PYTHONPATH=${CMAKE_BINARY_DIR}/lib
                               --cd ${CMAKE_CURRENT_SOURCE_DIR}/${example}
                                ${CMAKE_HOME_DIRECTORY}/examples/python/${example}/${example}.tesh)