Skip to content

Commit 46bc547

Browse files
committed
Add include path for SwiftSyntax
1 parent 040d707 commit 46bc547

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

stdlib/public/Observation/Sources/ObservationMacros/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/${SWIFT_HOST_LIBRARI
2020

2121
set(CMAKE_MACOSX_RPATH YES)
2222

23+
list(APPEND SWIFT_OBSERVATION_SWIFT_FLAGS
24+
"-I"
25+
${CMAKE_BINARY_DIR}/lib/${SWIFT_HOST_LIBRARIES_SUBDIRECTORY})
26+
2327
add_swift_target_library(swiftObservationMacros ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS_STDLIB
2428
ObservableMacro.swift
2529

0 commit comments

Comments
 (0)