[education/rkward] rkward/rbackend: Help windows ci pipeline find R
Thomas Friedrichsmeier
null at kde.org
Fri Apr 8 20:22:10 BST 2022
Git commit 12f25f607c552442efc31e8e8fe770af204eb94d by Thomas Friedrichsmeier.
Committed on 08/04/2022 at 19:22.
Pushed by tfry into branch 'master'.
Help windows ci pipeline find R
M +1 -1 rkward/rbackend/FindR.cmake
https://invent.kde.org/education/rkward/commit/12f25f607c552442efc31e8e8fe770af204eb94d
diff --git a/rkward/rbackend/FindR.cmake b/rkward/rbackend/FindR.cmake
index 86633cc9..276482f8 100644
--- a/rkward/rbackend/FindR.cmake
+++ b/rkward/rbackend/FindR.cmake
@@ -5,7 +5,7 @@ IF(R_EXECUTABLE)
MESSAGE(STATUS "Specified by user")
ENDIF(R_EXECUTABLE)
SET(CMAKE_FIND_APPBUNDLE NEVER) # Do not get fooled by R GUI on Mac
-FIND_PROGRAM(R_EXECUTABLE R)
+FIND_PROGRAM(R_EXECUTABLE R PATH_SUFFIXES lib/R/bin)
IF(R_EXECUTABLE-NOTFOUND)
MESSAGE(FATAL_ERROR "Could NOT find R (TODO: name option)")
More information about the rkward-tracker
mailing list