95
95
MESSAGE(STATUS "Yes, ${LIBR_LAPACK} exists")
96
96
SET(R_USED_LIBS ${R_USED_LIBS} Rlapack)
98
99
# needed when linking to Rlapack on linux for some unknown reason.
99
100
# apparently not needed on windows (let's see, when it comes back to bite us, though)
100
101
# and compiling on windows is hard enough even without requiring libgfortran, too.
101
102
SET(R_USED_LIBS ${R_USED_LIBS} gfortran)
105
106
# for at least some versions of R, we seem to have to link against -lRlapack. Else loading some