|
Boost-Commit : |
From: troy_at_[hidden]
Date: 2007-07-16 16:39:22
Author: troy
Date: 2007-07-16 16:39:20 EDT (Mon, 16 Jul 2007)
New Revision: 7448
URL: http://svn.boost.org/trac/boost/changeset/7448
Log:
Vielen Dank Alex Neundorf. PYTHONPATH might contain spaces, trap them with quotes.
Text files modified:
sandbox-branches/boost-cmake/boost_1_34_0/libs/python/test/CMakeLists.txt | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: sandbox-branches/boost-cmake/boost_1_34_0/libs/python/test/CMakeLists.txt
==============================================================================
--- sandbox-branches/boost-cmake/boost_1_34_0/libs/python/test/CMakeLists.txt (original)
+++ sandbox-branches/boost-cmake/boost_1_34_0/libs/python/test/CMakeLists.txt 2007-07-16 16:39:20 EDT (Mon, 16 Jul 2007)
@@ -36,9 +36,9 @@
set(BPL_TEST_PYSOURCE ${CMAKE_CURRENT_SOURCE_DIR}/${BPL_TEST_PYSOURCE})
# Run the test itself
- file(TO_NATIVE_PATH ${LIBRARY_OUTPUT_PATH} PYTHONPATH)
+ file(TO_NATIVE_PATH "${LIBRARY_OUTPUT_PATH}" PYTHONPATH)
if(WIN32 AND NOT UNIX)
- string(REPLACE "\\" "\\\\" PYTHONPATH ${PYTHONPATH})
+ string(REPLACE "\\" "\\\\" PYTHONPATH "${PYTHONPATH}")
endif(WIN32 AND NOT UNIX)
add_test("${PROJECT_NAME}::${TESTNAME}"
${PYTHON_EXECUTABLE}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk