From: Vsevolod Stakhov Date: Thu, 27 May 2021 14:14:33 +0000 (+0100) Subject: [Minor] Another try to fix clang plugin build X-Git-Tag: 3.0~362 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5466a0609d3bdad8c2c389a3b4620f690f1b5705;p=rspamd.git [Minor] Another try to fix clang plugin build --- 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