From b3cbc78568844b8603451c160dddb89576ebb46e Mon Sep 17 00:00:00 2001 From: Fred Hornsey Date: Wed, 29 Nov 2023 23:03:50 -0600 Subject: [PATCH] tests/DCPS/Messenger requires ownership_profile --- tests/DCPS/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/DCPS/CMakeLists.txt b/tests/DCPS/CMakeLists.txt index 1569486f171..c27e23d579d 100644 --- a/tests/DCPS/CMakeLists.txt +++ b/tests/DCPS/CMakeLists.txt @@ -6,4 +6,6 @@ find_package(OpenDDS REQUIRED) add_subdirectory(Compiler) add_subdirectory(HelloWorld) -add_subdirectory(Messenger) +if(OPENDDS_OWNERSHIP_PROFILE) + add_subdirectory(Messenger) +endif()