]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Another try to fix clang plugin build
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 27 May 2021 14:14:33 +0000 (15:14 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 27 May 2021 14:14:33 +0000 (15:14 +0100)
clang-plugin/CMakeLists.txt
contrib/robin-hood/robin_hood.h

index 80fa54eed2cd46961edb78067f6ac05e4d502658..0d61c79d8e3b013741c378be87ccbacd122a2bbe 100644 (file)
@@ -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})
index 573607f18d056adfba936f0ccee7c14df62e8a3d..9141848d7a0fea855956bd6d9f6fbe1dd72a19d4 100644 (file)
@@ -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>