## C++17 is required by RcppArmadillo (>= 11.x) and matches the rest
## of the package. CRAN requires this be declared explicitly.
CXX_STD = CXX17

## Link BLAS + LAPACK + Fortran runtime explicitly. Required on Linux
## (CRAN's Debian test machines use strict linking and do not
## auto-resolve BLAS/LAPACK symbols like `dpotrf_` even when
## RcppArmadillo is a LinkingTo dependency). Also required on Windows
## (see Makevars.win). On macOS, R's compiled-in $(FLIBS) resolves
## these correctly against the Accelerate framework.
PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
