Skip to content

Commit

Permalink
[R]: compile FlashEigen correctly when it's enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
zheng-da committed Jan 13, 2016
1 parent f5054b1 commit 4dbf356
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Rpkg/src/Makevars
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ endif
PKG_CXXFLAGS = -g -O3 -I. -Wall -fPIC -std=c++0x -DBOOST_LOG_DYN_LINK
PKG_CXXFLAGS += -I$(FG_DIR)/include -I$(FG_DIR)/libcommon -I$(FG_DIR)/flash-graph -I$(FG_DIR)/matrix
PKG_CXXFLAGS += -I. -I$(RCPP_INCLUDE) $(OMP_FLAG)
ifdef ENABLE_TRILINOS
PKG_CXXFLAGS += -DENABLE_TRILINOS
endif
ifdef FG_EIGEN
PKG_CXXFLAGS += -DUSE_EIGEN
endif
Expand Down

0 comments on commit 4dbf356

Please sign in to comment.