CMake: Add option to link against system-wide Gflags library
[blender.git] / tests / gtests / testing / testing_main.cc
index b2dcc445aca1006614a1d036a2f0eab1dfd07685..e8104a2a026f381106e7ac9bef7f66f47f93e4a0 100644 (file)
@@ -28,7 +28,7 @@
 
 int main(int argc, char **argv) {
   testing::InitGoogleTest(&argc, argv);
-  gflags::ParseCommandLineFlags(&argc, &argv, true);
+  BLENDER_GFLAGS_NAMESPACE::ParseCommandLineFlags(&argc, &argv, true);
   google::InitGoogleLogging(argv[0]);
 
   return RUN_ALL_TESTS();