diff --git a/src/Makevars b/src/Makevars index 7dac90b..db5f9c3 100644 --- a/src/Makevars +++ b/src/Makevars @@ -9,3 +9,4 @@ PKG_CXXFLAGS = -DNDEBUG PKG_CXXFLAGS = $(SHLIB_OPENMP_CXXFLAGS) PKG_LIBS = `$(R_HOME)/bin/Rscript -e "Rcpp:::LdFlags()"` $(SHLIB_OPENMP_CXXFLAGS) $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) +CXX_STD = CXX11 \ No newline at end of file diff --git a/src/Makevars.win b/src/Makevars.win index 4b15096..aa460b3 100644 --- a/src/Makevars.win +++ b/src/Makevars.win @@ -11,3 +11,4 @@ PKG_LIBS = $(shell "${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" --vanilla -e "Rcpp:: PKG_CPPFLAGS = -I. -DNDEBUG +CXX_STD = CXX11 \ No newline at end of file