--- a/Makefile.am	2026-11-15 00:10:59.286586113 -0500
+++ b/Makefile.am	2026-11-15 00:10:59.329765037 -0500
@@ -329,7 +329,6 @@
 	-I$(srcdir)/src/zimg \
 	-I$(srcdir)/test \
 	-I$(srcdir)/test/extra \
-	-I$(srcdir)/test/extra/googletest/googletest/include \
 	$(graphengineflags)
 
 test_unit_test_SOURCES = \
@@ -373,20 +372,10 @@
 	test/resize/x86/resize_impl_avx512_vnni_test.cpp
 endif # X86SIMD
 
-test/extra/googletest/build/lib/libgtest.a: .FAKE
-	-$(MAKE) -C test/extra/googletest/build gtest
-
-.FAKE:
-
 test_unit_test_LDADD = \
-	test/extra/googletest/build/lib/libgtest.a \
+	-lgtest \
 	test/libmusl_m.la \
 	libzimg_internal.la
 endif # UNIT_TEST
 
 
-clean-local:
-	-cd test/extra/googletest/build && make clean
-
-distclean-local:
-	-rm -rf test/extra/googletest/build
--- a/configure.ac	2026-11-15 00:10:59.286629143 -0500
+++ b/configure.ac	2026-11-15 00:10:59.330473683 -0500
@@ -44,10 +44,6 @@
                 [x86_64],  [],
                 [AC_MSG_WARN([Could not determine how to enable IEEE-754 compliance on host. Tests may fail.])])
 
-        AC_CHECK_PROG([CMAKE], [cmake], [cmake])
-        AS_MKDIR_P([test/extra/googletest/build])
-        AS_IF([(cd "test/extra/googletest/build" && $CMAKE -Dgtest_disable_pthreads=ON "$ac_abs_confdir/test/extra/googletest")],
-              [], [AC_MSG_ERROR([CMake error])])
       ])
 
 
