aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2022-08-09 14:18:52 -0700
committerJames Zern <jzern@google.com>2022-08-22 18:35:25 -0700
commite33399b10fa2f444b16bdcbd0d711a7c86d8537e (patch)
tree553ee33d8c26231246b138d2681eec4d6b7b77ad
parentf06328bff13fe3fc1818ed0c3fd823b8826dafc6 (diff)
downloadlibgav1-e33399b10fa2f444b16bdcbd0d711a7c86d8537e.tar.gz
cmake: suggest stable versions of abseil/googletest
this ensures a C++11 compatible version of each library after: 97ab3dcf Move Abseil to C++14 minimum e009c3d3 Enable heterogeneous lookup for RegisteredTestsMap. PiperOrigin-RevId: 466466183 Change-Id: I8422b93c2ca69dc4825184c2b2ed213b015a2a00
-rw-r--r--CMakeLists.txt2
-rw-r--r--tests/libgav1_tests.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 52b1b32..73f27a1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -144,7 +144,7 @@ else()
" examples & tests and libgav1 when LIBGAV1_THREADPOOL_USE_STD_MUTEX is"
" not defined. To continue, download the Abseil repository to"
" third_party/abseil-cpp:\n git \\\n -C ${libgav1_root} \\\n"
- " clone \\\n"
+ " clone -b 20220623.0 --depth 1 \\\n"
" https://github.com/abseil/abseil-cpp.git third_party/abseil-cpp")
endif()
endif()
diff --git a/tests/libgav1_tests.cmake b/tests/libgav1_tests.cmake
index c759d4f..9c3fdb7 100644
--- a/tests/libgav1_tests.cmake
+++ b/tests/libgav1_tests.cmake
@@ -28,7 +28,7 @@ if(NOT LIBGAV1_ENABLE_TESTS OR NOT EXISTS "${libgav1_googletest}")
"GoogleTest not found, setting LIBGAV1_ENABLE_TESTS to false.\n"
"To enable tests download the GoogleTest repository to"
" third_party/googletest:\n\n git \\\n -C ${libgav1_root} \\\n"
- " clone \\\n"
+ " clone -b release-1.12.1 --depth 1 \\\n"
" https://github.com/google/googletest.git third_party/googletest\n")
set(LIBGAV1_ENABLE_TESTS FALSE CACHE BOOL "Enables tests." FORCE)
endif()