diff --git a/cmake/modules/EmitSwiftInterface.cmake b/cmake/modules/EmitSwiftInterface.cmake index b661deda..c6dc2339 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)