Skip to content

Commit 5cdc4ae

Browse files
committed
Restore pre command
1 parent 0b038ba commit 5cdc4ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

share/cmake/macros/GetPythonPreCommand.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ macro(get_python_pre_command)
6666
# on Windows with:
6767
# '> set PYTHONPATH=XXX \n call CMD'
6868
# '\n' is here because '\\&' does not work.
69-
set(Python_PRE_CMD set ${_PATH_SET} "\n" call)
69+
set(Python_PRE_CMD set ${_PATH_SET} "\n" set ${_PYTHONPATH_SET} "\n" call)
7070

7171
message(STATUS "Python pre-command: ${Python_PRE_CMD}")
7272

0 commit comments

Comments
 (0)