From d21c743aaa6727349dfa84076a47440edd2e9b2f Mon Sep 17 00:00:00 2001 From: Nikita Mikhaylov Date: Tue, 14 Jul 2020 15:09:08 +0000 Subject: [PATCH] fix build --- contrib/stats-cmake/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/stats-cmake/CMakeLists.txt b/contrib/stats-cmake/CMakeLists.txt index 0483095c40b..b900a290559 100644 --- a/contrib/stats-cmake/CMakeLists.txt +++ b/contrib/stats-cmake/CMakeLists.txt @@ -4,7 +4,7 @@ set(STATS_INCLUDE_DIR ${ClickHouse_SOURCE_DIR}/contrib/stats/include) set(GCEM_INCLUDE_DIR ${ClickHouse_SOURCE_DIR}/contrib/gcem/include) -add_library(stats) +add_library(stats INTERFACE) -target_include_directories(stats SYSTEM PUBLIC ${STATS_INCLUDE_DIR}) -target_include_directories(stats SYSTEM PUBLIC ${GCEM_INCLUDE_DIR}) +target_include_directories(stats INTERFACE ${STATS_INCLUDE_DIR}) +target_include_directories(stats INTERFACE ${GCEM_INCLUDE_DIR})