summarylogtreecommitdiffstats
path: root/gcconfig.pri
diff options
context:
space:
mode:
authorMichael Prager2022-05-25 02:56:38 +0200
committerMichael Prager2022-05-25 02:56:38 +0200
commitbf735ccca5beb53010f1a3640e457baf0fa79a36 (patch)
tree4d3008f0faccae698c6651a1d9fdba4d53610925 /gcconfig.pri
parent12ae9488a742106faf0006d868777a9d972376ff (diff)
downloadaur-bf735ccca5beb53010f1a3640e457baf0fa79a36.tar.gz
added support for R as optional dependency
Diffstat (limited to 'gcconfig.pri')
-rw-r--r--gcconfig.pri4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcconfig.pri b/gcconfig.pri
index 5de9b0bfe2d8..50367e27732a 100644
--- a/gcconfig.pri
+++ b/gcconfig.pri
@@ -23,7 +23,9 @@ GSL_LIBS = -lgsl -lgslcblas -lm
# You will need R installed along with the Rcpp and RInside
# packages. There is an R script in the `util' directory that
# can be run to install these packages; see it for more info.
-#DEFINES += GC_WANT_R
+packagesExist(libR) {
+ DEFINES += GC_WANT_R
+}
# Uncomment below if you want Python charting / ML etc
# You will need Python Development tools installed