From 5466a0609d3bdad8c2c389a3b4620f690f1b5705 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 27 May 2021 15:14:33 +0100 Subject: [PATCH] [Minor] Another try to fix clang plugin build --- clang-plugin/CMakeLists.txt | 5 +---- contrib/robin-hood/robin_hood.h | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/clang-plugin/CMakeLists.txt b/clang-plugin/CMakeLists.txt index 80fa54eed..0d61c79d8 100644 --- a/clang-plugin/CMakeLists.txt +++ b/clang-plugin/CMakeLists.txt @@ -14,10 +14,7 @@ IF (ENABLE_CLANG_PLUGIN MATCHES "ON") find_package(Clang REQUIRED) - set(clang_libs - clangAST - clangBasic - clangFrontend) + set(clang_libs clang) message(STATUS "Found LibClang in: ${CLANG_INSTALL_PREFIX}") include_directories(${CLANG_INCLUDE_DIRS}) diff --git a/contrib/robin-hood/robin_hood.h b/contrib/robin-hood/robin_hood.h index 573607f18..9141848d7 100644 --- a/contrib/robin-hood/robin_hood.h +++ b/contrib/robin-hood/robin_hood.h @@ -42,6 +42,7 @@ #include #include #include +#include #include // only to support hash of smart pointers #include #include -- 2.39.5