Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Fix R-package/src/Makevars for OpenCV 4 (#17404)
Browse files Browse the repository at this point in the history
  • Loading branch information
leezu committed Jan 23, 2020
1 parent 32d3bd8 commit 085fd79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R-package/src/Makevars
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CXX_STD = CXX11
PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) `pkg-config --libs opencv`
PKG_CFLAGS = `pkg-config --cflags opencv`
PKG_CPPFLAGS = -I../inst/include `pkg-config --cflags opencv` `Rscript -e 'Rcpp:::CxxFlags()'`
PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) `(pkg-config --libs opencv || pkg-config --libs opencv4)`
PKG_CFLAGS = `(pkg-config --cflags opencv || pkg-config --cflags opencv4)`
PKG_CPPFLAGS = -I../inst/include `(pkg-config --cflags opencv || pkg-config --cflags opencv4)` `Rscript -e 'Rcpp:::CxxFlags()'`

0 comments on commit 085fd79

Please sign in to comment.