From 8b30379ae351d6999bbd87291e7a4e585e521eaa Mon Sep 17 00:00:00 2001 From: Fred Hornsey Date: Fri, 20 Sep 2024 11:01:10 -0500 Subject: [PATCH] Fix Logic in _opendds_get_generated_output --- cmake/tao_idl_sources.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmake/tao_idl_sources.cmake b/cmake/tao_idl_sources.cmake index 44e7439c45..dc95edd24b 100644 --- a/cmake/tao_idl_sources.cmake +++ b/cmake/tao_idl_sources.cmake @@ -85,11 +85,10 @@ function(_opendds_get_generated_output target file) set(msg_type FATAL_ERROR) if(arg_FAIL_VAR) set(${arg_FAIL_VAR} TRUE PARENT_SCOPE) + set(msg_type SEND_ERROR) endif() if(arg_EXPECT_FAIL) return() - else() - set(msg_type SEND_ERROR) endif() message(${msg_type} " This file:\n"