Fix the build of the OpenCV C++ library

This commit is contained in:
Bas van Dijk 2017-06-26 09:57:26 +02:00
parent 68176f8138
commit 42ea9ce03a
2 changed files with 3 additions and 3 deletions

View File

@ -2,8 +2,8 @@ ghc-major-version: "8.0"
# Constraints for brand new builds
packages:
"Bas van Dijk <v.dijk.bas@gmail.com> @basvandijk": []
# - opencv # https://github.com/fpco/stackage/pull/2597#issuecomment-310930926
# - opencv-extra # https://github.com/fpco/stackage/pull/2597#issuecomment-310930926
- opencv
- opencv-extra
"Pasqualino Assini <tittoassini@gmail.com> @tittoassini":
- zm

View File

@ -250,7 +250,7 @@ mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv-build/opencv_contrib-${OPENCV_VERSION}/modules
-D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv-build/opencv_contrib-${OPENCV_VERSION}/modules ..
make -j