commit 5466a06: [Minor] Another try to fix clang plugin build
Vsevolod Stakhov
vsevolod at highsecure.ru
Thu May 27 14:21:04 UTC 2021
Author: Vsevolod Stakhov
Date: 2021-05-27 15:14:33 +0100
URL: https://github.com/rspamd/rspamd/commit/5466a0609d3bdad8c2c389a3b4620f690f1b5705 (HEAD -> master)
[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 <cstdlib>
#include <cstring>
#include <functional>
+#include <limits>
#include <memory> // only to support hash of smart pointers
#include <stdexcept>
#include <string>
More information about the Commits
mailing list