Skip to content

Commit

Permalink
CMakeLists: install_python_requirements allow --break-system-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar committed Apr 22, 2024
1 parent 4cf51e5 commit bfb04dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ include(package)

# install python requirements using configured python
add_custom_target(install_python_requirements
COMMAND ${PYTHON_EXECUTABLE} -m pip install --requirement ${PX4_SOURCE_DIR}/Tools/setup/requirements.txt
COMMAND ${PYTHON_EXECUTABLE} -m pip install --break-system-packages --requirement ${PX4_SOURCE_DIR}/Tools/setup/requirements.txt
DEPENDS ${PX4_SOURCE_DIR}/Tools/setup/requirements.txt
USES_TERMINAL
)
Expand Down

0 comments on commit bfb04dd

Please sign in to comment.