From ed8a62f1cdca19c09caf52f2e36f45dafaa9cff8 Mon Sep 17 00:00:00 2001 From: Thijs Paelman Date: Mon, 3 Nov 2025 22:40:55 +0100 Subject: build: Only add tests when BUILD_TESTING is ON By default, BUILD_TESTING = ON due to the inclusion of the CTest module. Signed-off-by: Thijs Paelman Signed-off-by: Sander Vrijders --- src/tools/irm/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/tools/irm') diff --git a/src/tools/irm/CMakeLists.txt b/src/tools/irm/CMakeLists.txt index 7acd5396..3c599300 100644 --- a/src/tools/irm/CMakeLists.txt +++ b/src/tools/irm/CMakeLists.txt @@ -39,4 +39,6 @@ target_link_libraries(irm LINK_PUBLIC ouroboros-irm) install(TARGETS irm RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR}) # enable when we have tests -# add_subdirectory(tests) +# if(BUILD_TESTS) +# add_subdirectory(tests) +# endif () -- cgit v1.2.3