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/ipcpd/local/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/ipcpd/local') diff --git a/src/ipcpd/local/CMakeLists.txt b/src/ipcpd/local/CMakeLists.txt index 08abff57..f661e9ae 100644 --- a/src/ipcpd/local/CMakeLists.txt +++ b/src/ipcpd/local/CMakeLists.txt @@ -31,4 +31,6 @@ endif () install(TARGETS ipcpd-local RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR}) # Enable once ipcp-local has tests -# add_subdirectory(tests) +# if(BUILD_TESTS) +# add_subdirectory(tests) +# endif () -- cgit v1.2.3