Skip to content

Commit 2bed0f9

Browse files
committed
Improve install method of py port.
1 parent e6824f0 commit 2bed0f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/ports/py_port/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if(NOT OPTION_BUILD_GUIX)
2626
set(PIP_BACKWARD_COMPATIBILITY "${CMAKE_COMMAND} -E env SETUPTOOLS_USE_DISTUTILS=stdlib")
2727
endif()
2828

29-
install(CODE "execute_process(COMMAND ${PIP_BACKWARD_COMPATIBILITY} pip3 install ${PIP_BREAK_SYSTEM_PACKAGES} ${CMAKE_CURRENT_SOURCE_DIR})")
29+
install(CODE "execute_process(COMMAND ${PIP_BACKWARD_COMPATIBILITY} ${Python3_EXECUTABLE} -m pip install ${PIP_BREAK_SYSTEM_PACKAGES} ${CMAKE_CURRENT_SOURCE_DIR})")
3030
endif()
3131

3232
# Check if loaders are enabled

0 commit comments

Comments
 (0)