From b45ad730f91226c309910aa5314ee7e37b71d43f Mon Sep 17 00:00:00 2001 From: Owen Voorhees Date: Sun, 19 Oct 2025 23:04:19 -0700 Subject: [PATCH] Set interface include directory for the subprocess target --- cmake/modules/EmitSwiftInterface.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/modules/EmitSwiftInterface.cmake b/cmake/modules/EmitSwiftInterface.cmake index b661ded..c6dc233 100644 --- a/cmake/modules/EmitSwiftInterface.cmake +++ b/cmake/modules/EmitSwiftInterface.cmake @@ -38,6 +38,9 @@ function(emit_swift_interface target) target_sources(${target} INTERFACE $) + +set_target_properties(${target} PROPERTIES + INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_CURRENT_BINARY_DIR}) # Generate textual swift interfaces is library-evolution is enabled if(${PROJECT_NAME}_ENABLE_LIBRARY_EVOLUTION)