GoogleTest-With-CMake
GoogleTest-With-CMake copied to clipboard
GTest GitHub url is not found anymore
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
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
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