diff --git a/CMakeLists.txt b/CMakeLists.txt
index c45a36bd5c170c50ffd635435b1fbb0fc9c286ab..ad9cbdeaf77af7c22aec807b045c094dbc2f60ae 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -315,6 +315,7 @@ else()
 endif()
 if(USE_BUNDLED_OLM)
 	include(FetchContent)
+	set(OLM_TESTS OFF CACHE INTERNAL "")
 	FetchContent_Declare(
 		Olm
 		GIT_REPOSITORY https://gitlab.matrix.org/matrix-org/olm.git