diff options
author | Marc Chevrier <marc.chevrier@sap.com> | 2018-04-05 10:09:53 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@sap.com> | 2018-04-05 10:09:53 (GMT) |
commit | 38dcdd76413c012a569eccb67c195f1d6840e2b8 (patch) | |
tree | 71a140462721242f9ff83ea0cd62777e3c101a99 /Tests/UseSWIG/BasicPython | |
parent | 3201e4c156fcf79a7c29a73430e72b1bcd43cedc (diff) | |
download | CMake-38dcdd76413c012a569eccb67c195f1d6840e2b8.zip CMake-38dcdd76413c012a569eccb67c195f1d6840e2b8.tar.gz CMake-38dcdd76413c012a569eccb67c195f1d6840e2b8.tar.bz2 |
UseSWIG: Ensure tests are usable in multi-config mode.
Fixes: #17875
Diffstat (limited to 'Tests/UseSWIG/BasicPython')
-rw-r--r-- | Tests/UseSWIG/BasicPython/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/UseSWIG/BasicPython/CMakeLists.txt b/Tests/UseSWIG/BasicPython/CMakeLists.txt index 1ca4e25..cf1d821 100644 --- a/Tests/UseSWIG/BasicPython/CMakeLists.txt +++ b/Tests/UseSWIG/BasicPython/CMakeLists.txt @@ -9,5 +9,5 @@ set(language "python") include (../BasicConfiguration.cmake) add_test (NAME BasicPython - COMMAND "${CMAKE_COMMAND}" -E env "PYTHONPATH=$<TARGET_FILE_DIR:example>" + COMMAND "${CMAKE_COMMAND}" -E env "PYTHONPATH=${CMAKE_CURRENT_BINARY_DIR}${PS}$<TARGET_FILE_DIR:example>" "${Python_EXECUTABLE}" "${CMAKE_CURRENT_SOURCE_DIR}/../runme.py") |