From 0b9c8543aa5632c4efa59eaa6c3dd2604f6dd9ea Mon Sep 17 00:00:00 2001 From: Peter Gadfort Date: Mon, 6 May 2024 17:11:36 -0400 Subject: [PATCH] rmp: honor enable tests Signed-off-by: Peter Gadfort --- src/rmp/test/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/rmp/test/CMakeLists.txt b/src/rmp/test/CMakeLists.txt index d8511450876..8dbfb9789f2 100644 --- a/src/rmp/test/CMakeLists.txt +++ b/src/rmp/test/CMakeLists.txt @@ -17,4 +17,6 @@ foreach(TEST_NAME IN LISTS TEST_NAMES) or_integration_test("rmp" ${TEST_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/regression) endforeach() -add_subdirectory(cpp) +if (ENABLE_TESTS) + add_subdirectory(cpp) +endif()