mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-11 23:08:30 +01:00
Fix the build of the OpenCV C++ library
This commit is contained in:
parent
68176f8138
commit
42ea9ce03a
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user