diff options
| author | Thijs Paelman <thijs@ouroboros.rocks> | 2025-11-03 22:40:55 +0100 |
|---|---|---|
| committer | Sander Vrijders <sander@ouroboros.rocks> | 2025-11-07 08:35:48 +0100 |
| commit | ed8a62f1cdca19c09caf52f2e36f45dafaa9cff8 (patch) | |
| tree | e3bde26d332953eb205885a37870068bd5e3a11f /src/irmd/reg/CMakeLists.txt | |
| parent | 181739aa4571b8707160b946f1e1e3a92a3c3e3b (diff) | |
| download | ouroboros-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/irmd/reg/CMakeLists.txt')
| -rw-r--r-- | src/irmd/reg/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/irmd/reg/CMakeLists.txt b/src/irmd/reg/CMakeLists.txt index ff9d2e99..d3844908 100644 --- a/src/irmd/reg/CMakeLists.txt +++ b/src/irmd/reg/CMakeLists.txt @@ -4,4 +4,6 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}) include_directories(${CMAKE_SOURCE_DIR}/include) include_directories(${CMAKE_BINARY_DIR}/include) -add_subdirectory(tests) +if(BUILD_TESTS) + add_subdirectory(tests) +endif () |
