Skip to content

Commit

Permalink
[cmake] Fix issues with build against llvm install with shared libs
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentzell committed Feb 9, 2024
1 parent d8f57d8 commit 3ec9b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/annotate_fnt/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
set(SRC_FILES ast_consumer.cpp matchers.cpp worker.cpp main.cpp)
add_executable(annotate_fnt ${SRC_FILES} )

target_link_libraries(annotate_fnt clang_plugin clu fmt::fmt clangTooling)
target_link_libraries(annotate_fnt clang_plugin clu fmt::fmt clangTooling clangFrontend clangAST clangSerialization clangRewrite clangASTMatchers clangBasic LLVMSupport)

target_include_directories(annotate_fnt PRIVATE ${CMAKE_SOURCE_DIR}/c++ ${CMAKE_SOURCE_DIR}/src ${CMAKE_CURRENT_SOURCE_DIR})
set_property(TARGET annotate_fnt PROPERTY POSITION_INDEPENDENT_CODE ON)
Expand Down

0 comments on commit 3ec9b08

Please sign in to comment.