Skip to content
Snippets Groups Projects
Commit 78acf3cb authored by Ben Boeckel's avatar Ben Boeckel
Browse files

cmake: replace slashes in PATH on Windows

parent 3e5c4a68
Branches master
No related merge requests found
......@@ -407,6 +407,9 @@ if(SMTK_ENABLE_PYTHON_WRAPPING)
string(REPLACE ";" "${envsep}" smtk_pythonpath_env "${smtk_pythonpaths}")
string(REPLACE ";" "${envsep}" smtk_libpath_env "${smtk_libpaths}")
if (WIN32)
string(REPLACE "/" "\\" smtk_libpath_env "${smtk_libpath_env}")
endif ()
string(REPLACE ";" "\;" smtk_pythonpath_env "${smtk_pythonpath_env}")
string(REPLACE ";" "\;" smtk_libpath_env "${smtk_libpath_env}")
set(smtk_python_test_environment
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment