summaryrefslogtreecommitdiffhomepage
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/CMakeLists.txt3
-rw-r--r--contrib/gtest/CMakeLists.txt7
2 files changed, 9 insertions, 1 deletions
diff --git a/contrib/CMakeLists.txt b/contrib/CMakeLists.txt
index 520ca73..2f35927 100644
--- a/contrib/CMakeLists.txt
+++ b/contrib/CMakeLists.txt
@@ -1,11 +1,12 @@
include(ApplyPatch)
include(FetchContent)
include(MakeAvailable)
+add_subdirectory(gtest)
add_subdirectory(libpng)
add_subdirectory(ogg)
add_subdirectory(vorbis)
add_subdirectory(zlib)
-make_available(libpng ogg vorbis zlib)
+make_available(gtest libpng ogg vorbis zlib)
add_subdirectory(Opcode)
add_subdirectory(sha1)
install(
diff --git a/contrib/gtest/CMakeLists.txt b/contrib/gtest/CMakeLists.txt
new file mode 100644
index 0000000..657bacc
--- /dev/null
+++ b/contrib/gtest/CMakeLists.txt
@@ -0,0 +1,7 @@
+set(BUILD_GMOCK OFF CACHE INTERNAL "")
+set(INSTALL_GTEST OFF CACHE INTERNAL "")
+FetchContent_Declare(
+ GTest
+ URL https://github.com/google/googletest/archive/refs/tags/v1.13.0.tar.gz
+ URL_HASH SHA1=bfa4b5131b6eaac06962c251742c96aab3f7aa78
+ DOWNLOAD_EXTRACT_TIMESTAMP No)