From bc704d789a3694bc0ead929bf55efb54ddfec5ac Mon Sep 17 00:00:00 2001 From: Douglas Ayers Date: Thu, 2 Nov 2023 10:39:40 -0400 Subject: [PATCH] Fix what appears to be a mistake in opendds_target_sources.cmake --- cmake/opendds_target_sources.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/opendds_target_sources.cmake b/cmake/opendds_target_sources.cmake index 9a56f20831e..fccb29066c7 100644 --- a/cmake/opendds_target_sources.cmake +++ b/cmake/opendds_target_sources.cmake @@ -211,7 +211,7 @@ function(opendds_export_header target) _opendds_get_generated_file_path(${target} "${arg_INCLUDE_BASE}" "${target}_export.h" export_header) string(TOUPPER "${target}" uppercase_target) - if(NOT EXISTS ${output_file}) + if(NOT EXISTS ${export_header}) configure_file("${_OPENDDS_CMAKE_DIR}/export.h.in" "${export_header}") endif()