From f0c517e4d186bbb4db183e716be9cc1482a443c3 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sun, 10 May 2020 02:05:35 +0300 Subject: [PATCH] Fix build --- contrib/jemalloc-cmake/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/jemalloc-cmake/CMakeLists.txt b/contrib/jemalloc-cmake/CMakeLists.txt index cf695784618..5ae09bec8aa 100644 --- a/contrib/jemalloc-cmake/CMakeLists.txt +++ b/contrib/jemalloc-cmake/CMakeLists.txt @@ -51,11 +51,11 @@ if (ENABLE_JEMALLOC) add_library(jemalloc ${SRCS}) target_include_directories(jemalloc PRIVATE ${LIBRARY_DIR}/include) - target_include_directories(jemalloc PUBLIC include) + target_include_directories(jemalloc SYSTEM PUBLIC include) if (ARCH_AMD64) - target_include_directories(jemalloc PUBLIC include_linux_x86_64) + target_include_directories(jemalloc SYSTEM PUBLIC include_linux_x86_64) elseif (ARCH_ARM) - target_include_directories(jemalloc PUBLIC include_linux_aarch64) + target_include_directories(jemalloc SYSTEM PUBLIC include_linux_aarch64) endif () target_compile_definitions(jemalloc PRIVATE -DJEMALLOC_NO_PRIVATE_NAMESPACE)