From b322af3f6da800dd8c33a9f288d3c25c93170ea9 Mon Sep 17 00:00:00 2001 From: Oleg Milantiev Date: Thu, 15 Feb 2024 01:12:23 +0300 Subject: [PATCH] Cant build with message Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "3.6") --- scripts/Docker/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/Docker/Dockerfile b/scripts/Docker/Dockerfile index b1fc5dbbfc..cb6fe4132c 100644 --- a/scripts/Docker/Dockerfile +++ b/scripts/Docker/Dockerfile @@ -41,6 +41,7 @@ RUN ln -s /usr/src/librealsense-$LIBRS_VERSION /usr/src/librealsense RUN cd /usr/src/librealsense \ && mkdir build && cd build \ && cmake \ + -DPYTHON_EXECUTABLE=/usr/bin/python3 \ -DCMAKE_C_FLAGS_RELEASE="${CMAKE_C_FLAGS_RELEASE} -s" \ -DCMAKE_CXX_FLAGS_RELEASE="${CMAKE_CXX_FLAGS_RELEASE} -s" \ -DCMAKE_INSTALL_PREFIX=/opt/librealsense \