summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorThijs Paelman <thijs@ouroboros.rocks>2025-11-03 22:40:55 +0100
committerSander Vrijders <sander@ouroboros.rocks>2025-11-07 08:35:48 +0100
commited8a62f1cdca19c09caf52f2e36f45dafaa9cff8 (patch)
treee3bde26d332953eb205885a37870068bd5e3a11f /src/tools
parent181739aa4571b8707160b946f1e1e3a92a3c3e3b (diff)
downloadouroboros-ed8a62f1cdca19c09caf52f2e36f45dafaa9cff8.tar.gz
ouroboros-ed8a62f1cdca19c09caf52f2e36f45dafaa9cff8.zip
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 <thijs@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/irm/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
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 ()