Skip to content

Commit 75c3204

Browse files
committed
build: add CIndexStoreDB to the interface includes
This include path is needed to build SourceKit-LSP.
1 parent 4dfc125 commit 75c3204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/IndexStoreDB/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ add_library(IndexStoreDB
1515
Symbol.swift)
1616
set_target_properties(IndexStoreDB PROPERTIES
1717
Swift_MODULE_DIRECTORY ${CMAKE_BINARY_DIR}/swift
18-
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_BINARY_DIR}/swift)
18+
INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_BINARY_DIR}/swift;${PROJECT_SOURCE_DIR}/include/CIndexStoreDB")
1919
target_link_libraries(IndexStoreDB PRIVATE
2020
Foundation
2121
CIndexStoreDB)

0 commit comments

Comments
 (0)