Skip to content

Commit

Permalink
fix #4, fix #34
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyhanson committed Mar 5, 2021
1 parent 2e0b50d commit 5845eee
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Authors@R: c(
License: GPL-3 + file LICENSE
NeedsCompilation: yes
SystemRequirements: CBC libraries and headers
Biarch: true
Encoding: UTF-8
LazyData: true
LinkingTo: Rcpp
Expand Down
2 changes: 2 additions & 0 deletions configure.win
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# No configuration needed on Windows
# (this suppresses an unnecessary warning message during installation)
6 changes: 5 additions & 1 deletion src/Makevars.win
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
VERSION = 4.9.3
RWINLIB = ../windows/cbc-2.9.8/lib-$(VERSION)$(R_ARCH)

PKG_CPPFLAGS = -I../windows/cbc-2.9.8/include/coin
PKG_LIBS = -L../windows/cbc-2.9.8/lib${subst gcc,,${COMPILED_BY}}${R_ARCH} \

PKG_LIBS = -L$(RWINLIB) \
-lCbcSolver -lClpSolver \
-lOsiCbc -lCbc -lCgl -lOsiClp -lClp -lOsi -lCoinUtils -lz -lm

Expand Down

0 comments on commit 5845eee

Please sign in to comment.