diff --git a/scripts/bash/install-opencv.sh b/scripts/bash/install-opencv.sh index fc16d003..520b6a68 100644 --- a/scripts/bash/install-opencv.sh +++ b/scripts/bash/install-opencv.sh @@ -55,7 +55,7 @@ mv opencv-3.2.0 OpenCV cd 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=ON -DENABLE_PRECOMPILED_HEADERS=OFF .. make -j4 sudo make install sudo ldconfig