GoogleTest-With-CMake icon indicating copy to clipboard operation
GoogleTest-With-CMake copied to clipboard

GTest GitHub url is not found anymore

Open hurtadosanti opened this issue 6 years ago • 2 comments

I check the CMakeList.txt and points to URL https://github.com/google/googletest/archive/master.zip but that is now incorrect.

make[2]: *** No rule to make target tests/gtest/src/gtest-build/googlemock/gtest/libgtest.a', needed by tests/testSampleLib1/testSampleLib1'. Stop. make[1]: *** [tests/testSampleLib1/CMakeFiles/testSampleLib1.dir/all] Error 2 make: *** [all] Error 2

Ill try to find some time to see a solution, but probably you know better to what to look

hurtadosanti avatar Oct 13 '18 10:10 hurtadosanti

Nope. This issue is not caused by incorrect URL, but the product of gtest was moved. Read this commit could help you to fix this issue:

https://github.com/dhlab-basel/Sipi/pull/264/files

WeZZard avatar Apr 05 '19 03:04 WeZZard

I see. Seems that a change for the CMakelist file in test folder is needed. I will do a further testing and change it accordingly this weekend

YouYue123 avatar Apr 08 '19 16:04 YouYue123