Skip to content

Commit 5d86c36

Browse files
committed
Fix small error in compiler picking logic
1 parent 20dfb02 commit 5d86c36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prerequisites/install-functions/find_or_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ find_or_install()
503503
exit 76
504504
fi
505505
# Otherwise, if no CXX has been defined yet, use the g++ in the user's PATH
506-
elif [[ -z "$CC" ]]; then
506+
elif [[ -z "$CXX" ]]; then
507507
CXX=g++
508508
fi
509509

0 commit comments

Comments
 (0)