John Ericson da77db58d7 Revert "[cmake] Use GNUInstallDirs to support custom installation dirs."
https://lab.llvm.org/buildbot/#/builders/46/builds/21146 Still have
this odd error, not sure how to reproduce, so I will just try breaking
up my patch.

This reverts commit 4a678f8072004eff9214c1a4e1836a14abb69535.
2022-01-16 05:48:30 +00:00

25 lines
448 B
CMake

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
add_clang_tool(find-all-symbols
FindAllSymbolsMain.cpp
)
clang_target_link_libraries(find-all-symbols
PRIVATE
clangAST
clangASTMatchers
clangBasic
clangFrontend
clangLex
clangSerialization
clangTooling
)
target_link_libraries(find-all-symbols
PRIVATE
findAllSymbols
)
install(PROGRAMS run-find-all-symbols.py
DESTINATION share/clang
COMPONENT find-all-symbols)