Make cpp error while 'Linking CXX executable container_test' in TVM

I have installed TVM from source and I have tried installing googletest both from binary and source. Installation of TVM and googletest completes with no problem, but when I run make cpptest I get the following error:

[ 89%] Built target tvm_objs
[ 90%] Built target tvm
[ 90%] Built target pattern_match_test
[ 91%] Built target utvm_runtime_standalone_test
[ 91%] Built target topi_ewise_test
[ 92%] Built target threading_backend_test
[ 92%] Built target tensor_test
[ 93%] Built target target_test
[ 94%] Built target relay_transform_sequential_test
[ 94%] Built target relay_pass_type_infer_test
[ 95%] Built target relay_build_module_test
[ 95%] Built target tir_analysis_side_effect
[ 95%] Built target support_test
[ 95%] Built target expr_test
[ 95%] Built target build_module_test
[ 95%] Linking CXX executable container_test
CMakeFiles/container_test.dir/tests/cpp/container_test.cc.o: In function `InplaceArrayBase_ExceptionSafety_Test::TestBody()':
container_test.cc:(.text+0x9ad9): undefined reference to `testing::internal::DeathTest::Create(char const*, testing::Matcher<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>, char const*, int, testing::internal::DeathTest**)'
CMakeFiles/container_test.dir/tests/cpp/container_test.cc.o: In function `InplaceArrayBase_BadExceptionSafety_Test::TestBody()':
container_test.cc:(.text+0xa0e9): undefined reference to `testing::internal::DeathTest::Create(char const*, testing::Matcher<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>, char const*, int, testing::internal::DeathTest**)'
collect2: error: ld returned 1 exit status
CMakeFiles/container_test.dir/build.make:96: recipe for target 'container_test' failed
make[3]: *** [container_test] Error 1
CMakeFiles/Makefile2:678: recipe for target 'CMakeFiles/container_test.dir/all' failed
make[2]: *** [CMakeFiles/container_test.dir/all] Error 2
CMakeFiles/Makefile2:286: recipe for target 'CMakeFiles/cpptest.dir/rule' failed
make[1]: *** [CMakeFiles/cpptest.dir/rule] Error 2
Makefile:242: recipe for target 'cpptest' failed
make: *** [cpptest] Error 2

I used export GTEST_PATH=/path/to/googletest in order to show to TVM where to find googletest, but with no result. Should I state the location of googletest when I execute cmake ? Or is this another solution?