We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35e02ae commit 4422ecaCopy full SHA for 4422eca
support/dependencies/check-host-cmake.sh
@@ -6,6 +6,9 @@ version_min="${2}"
6
major_min="${version_min%.*}"
7
minor_min="${version_min#*.}"
8
9
+# cmake-3.7 incorrectly handles rpath, linking to host libraries
10
+blacklist_version="3.7"
11
+
12
cmake=`which ${candidate}`
13
if [ ! -x "${cmake}" ]; then
14
# echo nothing: no suitable cmake found
@@ -27,6 +30,11 @@ version="$(${cmake} --version \
27
30
major="${version%.*}"
28
31
minor="${version#*.}"
29
32
33
+if [ "${version}" = "${blacklist_version}" ]; then
34
+ # echo nothing: no suitable cmake found
35
+ exit 1
36
+fi
37
38
if [ ${major} -gt ${major_min} ]; then
39
echo "${cmake}"
40
else
0 commit comments