Set gmock_root to gmock_src_path if the latter is detected.

Otherwise configure thinks gmock isn't installed.
This commit is contained in:
John Ralls 2015-05-04 15:00:48 -07:00
parent 725622f613
commit 90f0d9952c

View File

@ -879,8 +879,9 @@ if test x$enable_google_test = xyes; then
elif test "x$ac_cv_file__usr_src_gmock_gmock_all_cc" = xyes; then elif test "x$ac_cv_file__usr_src_gmock_gmock_all_cc" = xyes; then
ac_cv_gmock_src_path="/usr/src/gmock" ac_cv_gmock_src_path="/usr/src/gmock"
else else
ac_cv_gmock_root="" ac_cv_gmock_src_path=""
fi fi
ac_cv_gmock_root="$ac_cv_gmock_src_path"
else else
ac_cv_gmock_root="" ac_cv_gmock_root=""
fi fi