From a4f10c74cce38338e4b651de4cab6fdc68eb6f78 Mon Sep 17 00:00:00 2001 From: Duncan Ogilvie Date: Fri, 22 May 2026 14:31:14 +0200 Subject: [PATCH] Do not enable test_runner_lib when testing isn't enabled --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f9878c6b..e0695e79 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -300,8 +300,10 @@ InstallExternalTarget("ext_llvmlink" "${LLVMLINK_PATH}" "BIN" "${INSTALLED_LLVML # add_custom_target(semantics) -# shared JIT tools -add_subdirectory(test_runner_lib) +# shared JIT test support +if(REMILL_ENABLE_TESTING) + add_subdirectory(test_runner_lib) +endif() # tools add_subdirectory(bin)