Skip to content

Commit

Permalink
Merge pull request #1145 from borglab/fix/python-install
Browse files Browse the repository at this point in the history
Fix `python-install`
  • Loading branch information
varunagrawal authored Mar 25, 2022
2 parents 134a6b8 + 9ed7327 commit c3788fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ endif()
# Add custom target so we can install with `make python-install`
set(GTSAM_PYTHON_INSTALL_TARGET python-install)
add_custom_target(${GTSAM_PYTHON_INSTALL_TARGET}
COMMAND ${PYTHON_EXECUTABLE} ${GTSAM_PYTHON_BUILD_DIRECTORY}/setup.py install
COMMAND ${PYTHON_EXECUTABLE} -m pip install --user .
DEPENDS ${GTSAM_PYTHON_DEPENDENCIES}
WORKING_DIRECTORY ${GTSAM_PYTHON_BUILD_DIRECTORY})

Expand Down

0 comments on commit c3788fe

Please sign in to comment.