From 4e08f52c14b3173e372bf3a3aba46655e9026488 Mon Sep 17 00:00:00 2001 From: Kimball Thurston Date: Sat, 14 Sep 2024 12:17:20 +1200 Subject: [PATCH] Use generator expression to get correct OS separator Signed-off-by: Kimball Thurston --- src/cmake/testing.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmake/testing.cmake b/src/cmake/testing.cmake index 5ba445b29b..ace7078256 100644 --- a/src/cmake/testing.cmake +++ b/src/cmake/testing.cmake @@ -110,7 +110,7 @@ macro (oiio_add_tests) "OIIO_TESTSUITE_ROOT=${_testsuite}" "OIIO_TESTSUITE_SRC=${_testsrcdir}" "OIIO_TESTSUITE_CUR=${_testdir}" - "PYTHONPATH=${CMAKE_BINARY_DIR}/lib/python/site-packages:$ENV{PYTHONPATH}" + "PYTHONPATH=$" ${_ats_ENVIRONMENT}) if (NOT ${_ats_testdir} STREQUAL "") set_property(TEST ${_testname} APPEND PROPERTY ENVIRONMENT