Skip to content

Commit

Permalink
fix install command typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrush committed Dec 5, 2023
1 parent bbf689a commit 84b30f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cmake/thirdparty/SetupPython.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ FUNCTION(PYTHON_ADD_PIP_SETUP)
INSTALL(CODE
"
EXECUTE_PROCESS(WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMAND COMMAND ${PYTHON_EXECUTABLE} -m pip install . -V --upgrade
COMMAND ${PYTHON_EXECUTABLE} -m pip install . -V --upgrade
--target ${py_mod_inst_prefix}
OUTPUT_VARIABLE PY_DIST_UTILS_INSTALL_OUT)
MESSAGE(STATUS \"\${PY_DIST_UTILS_INSTALL_OUT}\")
Expand All @@ -262,7 +262,7 @@ FUNCTION(PYTHON_ADD_PIP_SETUP)
INSTALL(CODE
"
EXECUTE_PROCESS(WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMAND COMMAND ${PYTHON_EXECUTABLE} -m pip install . -V --upgrade
COMMAND ${PYTHON_EXECUTABLE} -m pip install . -V --upgrade
--target \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${args_DEST_DIR}
OUTPUT_VARIABLE PY_DIST_UTILS_INSTALL_OUT)
MESSAGE(STATUS \"\${PY_DIST_UTILS_INSTALL_OUT}\")
Expand Down

0 comments on commit 84b30f1

Please sign in to comment.