From 59048c9575b46a2daecab52bd21ca8a1cd513b7d Mon Sep 17 00:00:00 2001 From: Dan Ferrante Date: Wed, 6 Dec 2017 08:21:48 -0500 Subject: [PATCH] turning -DBUILDEXAMPLES=OFF for opencv docker build throws an error on my machine without it. fixes #77 --- Dockerfile.gpu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.gpu b/Dockerfile.gpu index 3bad5a4..5198310 100644 --- a/Dockerfile.gpu +++ b/Dockerfile.gpu @@ -224,7 +224,7 @@ RUN git clone --depth 1 https://github.com/opencv/opencv.git /root/opencv && \ cd /root/opencv && \ mkdir build && \ cd build && \ - cmake -DWITH_QT=ON -DWITH_OPENGL=ON -DFORCE_VTK=ON -DWITH_TBB=ON -DWITH_GDAL=ON -DWITH_XINE=ON -DBUILD_EXAMPLES=ON .. && \ + cmake -DWITH_QT=ON -DWITH_OPENGL=ON -DFORCE_VTK=ON -DWITH_TBB=ON -DWITH_GDAL=ON -DWITH_XINE=ON -DBUILD_EXAMPLES=OFF .. && \ make -j"$(nproc)" && \ make install && \ ldconfig && \