[rkward/work/frameworks-Mac] rkward/rbackend: When looking for R executable on Mac, make sure to find the commandline version, only!

Thomas Friedrichsmeier null at kde.org
Thu Jun 1 09:24:23 UTC 2017


Git commit 5d2a1126ee4d7fcca1a0855d87cbde6e02612cb0 by Thomas Friedrichsmeier.
Committed on 01/06/2017 at 09:24.
Pushed by tfry into branch 'work/frameworks-Mac'.

When looking for R executable on Mac, make sure to find the commandline version, only!

M  +1    -0    rkward/rbackend/FindR.cmake

https://commits.kde.org/rkward/5d2a1126ee4d7fcca1a0855d87cbde6e02612cb0

diff --git a/rkward/rbackend/FindR.cmake b/rkward/rbackend/FindR.cmake
index 3c1053df..e8093360 100644
--- a/rkward/rbackend/FindR.cmake
+++ b/rkward/rbackend/FindR.cmake
@@ -4,6 +4,7 @@ MESSAGE(STATUS "Looking for R executable")
 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)
 
 IF(R_EXECUTABLE-NOTFOUND)



More information about the rkward-tracker mailing list