diff --git a/src/logging_unittest.cc b/src/logging_unittest.cc index 14c9789..47ac272 100644 --- a/src/logging_unittest.cc +++ b/src/logging_unittest.cc @@ -154,7 +154,7 @@ int main(int argc, char **argv) { FLAGS_logtostderr = true; InitGoogleTest(&argc, argv); -#ifdef HAVE_LIB_GTEST +#ifdef HAVE_LIB_GMOCK InitGoogleMock(&argc, argv); #endif