aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-08-19 18:28:38 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-08-19 18:29:53 -0300
commit2937fea56a9899627ddf4c796f7445bbbf94b0c2 (patch)
tree6377c041c31024f70dd21b7f7eb99b78590578d9 /tests
parent57d17c090802a93aeffc3e85730a950edfd6f448 (diff)
Fixed tests enviroment vars.
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 32e31060..dc5e52d4 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -25,8 +25,8 @@ else()
string(REPLACE ";" "\\;" TEST_PYTHONPATH "${TEST_PYTHONPATH}")
string(REPLACE ";" "\\;" TEST_LIBRARY_PATH "${TEST_LIBRARY_PATH}")
else()
- set(TEST_PYTHONPATH "$PYTHONPATH:${sample_BINARY_DIR}:${other_BINARY_DIR}")
- set(TEST_LIBRARY_PATH "$LD_LIBRARY_PATH:${libsample_BINARY_DIR}:${libother_BINARY_DIR}:${libshiboken_BINARY_DIR}")
+ set(TEST_PYTHONPATH "${sample_BINARY_DIR}:${other_BINARY_DIR}")
+ set(TEST_LIBRARY_PATH "$ENV{LD_LIBRARY_PATH}:${libsample_BINARY_DIR}:${libother_BINARY_DIR}:${libshiboken_BINARY_DIR}")
set(LIBRARY_PATH_VAR "LD_LIBRARY_PATH")
endif()