Skip to content

Commit

Permalink
Merge pull request #708 from mcserep/fix-lsp-thrift
Browse files Browse the repository at this point in the history
Fix Thrift usage in the C++ LSP plugin
  • Loading branch information
intjftw authored Feb 4, 2024
2 parents b6abcfa + 7d423fb commit 962d01d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugins/cpp_lsp/service/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@ include_directories(
${PROJECT_SOURCE_DIR}/webserver/include
${PROJECT_SOURCE_DIR}/service/lsp/include)

include_directories(SYSTEM
${THRIFT_LIBTHRIFT_INCLUDE_DIRS})

add_library(cpplspservice SHARED
src/cpplspservice.cpp
src/plugin.cpp)

target_link_libraries(cpplspservice
cppservice
lspservice
util)
util
${THRIFT_LIBTHRIFT_LIBRARIES})

install(TARGETS cpplspservice DESTINATION ${INSTALL_SERVICE_DIR})

0 comments on commit 962d01d

Please sign in to comment.