Skip to content

Commit

Permalink
Fix R-package/src/Makevars for OpenCV dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
leezu committed Jan 13, 2020
1 parent eb75b60 commit 46b2f1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions R-package/src/Makevars
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
CXX_STD = CXX11
PKG_CPPFLAGS = -I../inst/include
PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS)
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()'`
1 change: 0 additions & 1 deletion R-package/src/Makevars.win
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@

PKG_CPPFLAGS = -I../inst/include
PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) -L../inst/libs/x64/ -llibmxnet

0 comments on commit 46b2f1f

Please sign in to comment.