From f8d6ce0255fee972376a7aa5754bcdccc443bb48 Mon Sep 17 00:00:00 2001 From: Jo Shields Date: Thu, 5 Sep 2019 10:26:07 -0400 Subject: [PATCH] Try to force cmake3 not cmake on EPEL distros --- mono-core.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mono-core.spec b/mono-core.spec index 821232470f..904fe2b640 100644 --- a/mono-core.spec +++ b/mono-core.spec @@ -168,6 +168,9 @@ export MONO_CPU_ARCH="armv5el" %if %llvm == yes export PATH=/usr/lib/mono/llvm/bin:$PATH %endif +%if 0%{?rhel} <= 7 +export CMAKE=/usr/bin/cmake3 +%endif %configure \ --with-sgen=%{sgen} \ %if %llvm == yes