From 7a2bd13f5bf00153fc543daa779c1037ecbe4298 Mon Sep 17 00:00:00 2001 From: Alexandre Bouvier Date: Thu, 5 Jan 2023 05:00:44 +0100 Subject: cmake: support the standard cmake testing option --- externals/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'externals') diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index dfd40cba6..291ef96ee 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -5,6 +5,9 @@ # some of its variables, which is only possible in 3.13+ set(CMAKE_POLICY_DEFAULT_CMP0077 NEW) +# Disable tests in all externals supporting the standard option name +set(BUILD_TESTING OFF) + # xbyak if ((ARCHITECTURE_x86 OR ARCHITECTURE_x86_64) AND NOT TARGET xbyak::xbyak) add_subdirectory(xbyak EXCLUDE_FROM_ALL) -- cgit v1.2.3