Skip to content

Commit 8a35bea

Browse files
committed
SourceKitLSPAPI: export library as an interface
This is consumed by SourceKit-LSP, so export the library target to allow the library to be consumed properly to manage dependencies and flags.
1 parent 8469311 commit 8a35bea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/SourceKitLSPAPI/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ target_link_libraries(SourceKitLSPAPI PUBLIC
1616
# NOTE(compnerd) workaround for CMake not setting up include flags yet
1717
set_target_properties(SourceKitLSPAPI PROPERTIES
1818
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY})
19+
20+
set_property(GLOBAL APPEND PROPERTY SwiftPM_EXPORTS SourceKitLSPAPI)

0 commit comments

Comments
 (0)