From 792b03628fdfb54a554dccfbc8a730c6d6d392e4 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sun, 2 Jul 2017 17:15:12 +0200 Subject: [PATCH] CMake: more clear instructions for python dependencies --- cmake/common/px4_base.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/common/px4_base.cmake b/cmake/common/px4_base.cmake index e13dc023da..2b54cbc230 100644 --- a/cmake/common/px4_base.cmake +++ b/cmake/common/px4_base.cmake @@ -623,9 +623,9 @@ function(px4_find_python_module module) \nfor debian systems try: \ \n\tsudo apt-get install python-${module} \ \nor for all other OSs/debian: \ - \n\tpip install ${module}\n" PY_${module_upper}) + \n\tsudo -H pip install ${module}\n" PY_${module_upper}) #if (NOT PY_${module}_FOUND) - #message(FATAL_ERROR "python module not found, exitting") + #message(FATAL_ERROR "python module not found, exiting") #endif() endfunction(px4_find_python_module)