From fe0314287f4d759fba6a09bf7ea191b5957cd712 Mon Sep 17 00:00:00 2001 From: Tom Dewey Date: Tue, 3 Sep 2024 14:52:46 +0100 Subject: [PATCH] CMake: Disable building test binaries These are primarily gated in the dependencies - and not of interest to our build flow. --- src/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a078ec9..b78e7a7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -33,6 +33,9 @@ endif(APPLE) ## Preferentially build the bundled code. Full vendoring is to follow in a later version. +# Bundled code will occasionally use identical options - eg, BUILD_TESTING. +set(BUILD_TESTING OFF) + # Bundled liblzma set(XZ_MICROLZMA_DECODER OFF) set(XZ_MICROLZMA_ENCODER OFF)