Skip to content

Commit 16c67f9

Browse files
Gnimucvgvassilev
authored andcommitted
Add a workaround for triggering the use of CINDEX_LINKAGE
1 parent b5c5bb6 commit 16c67f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/Interpreter/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ else()
133133
LINK_LIBS
134134
${link_libs}
135135
)
136+
137+
target_compile_definitions(clangCppInterOp PUBLIC "_CINDEX_LIB_") # workaround for the use of `CINDEX_LINKAGE`
136138
endif()
137139

138140
string(REPLACE ";" "\;" _VER CPPINTEROP_VERSION)

0 commit comments

Comments
 (0)