Skip to content

Commit

Permalink
use the specified python version
Browse files Browse the repository at this point in the history
  • Loading branch information
yewang726 committed Oct 16, 2020
1 parent 946eaee commit 118321d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/CMakeLists.txt
Expand Up @@ -21,7 +21,7 @@
# install(CODE "execute_process(COMMAND ${PYTHON} ${SETUP_PY} install)")
#endif()

find_program(PIP "pip")
find_program(PIP "${Python_VERSION} -m pip")

if (PIP)
set(SETUP_PY_IN "${CMAKE_CURRENT_SOURCE_DIR}/setup.py.in")
Expand Down

0 comments on commit 118321d

Please sign in to comment.