diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..c09b0519 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +CMakeCache.txt +CMakeFiles +Makefile +bin +cmake_install.cmake +gtest +lib diff --git a/autogen.sh b/autogen.sh index 15f9119a..17c7afbc 100755 --- a/autogen.sh +++ b/autogen.sh @@ -21,6 +21,7 @@ # are automatically generated. set -e +gtest_release='release-1.12.1' if [ ! -z "$@" ]; then for argument in "$@"; do @@ -51,10 +52,10 @@ if test ! -e gtest; then fi echo "Google Test not present. Fetching from the web..." - curl $curlopts -L -o main.zip https://codeload.github.com/google/googletest/zip/refs/heads/main + curl $curlopts -L -o main.zip https://codeload.github.com/google/googletest/zip/$gtest_release unzip -q main.zip rm main.zip - mv googletest-main gtest + mv googletest-$gtest_release gtest fi if test -z $(which cmake); then