From 154ea471565a0108a2c686826eb95212af098773 Mon Sep 17 00:00:00 2001 From: proller Date: Mon, 4 Mar 2019 22:37:50 +0300 Subject: [PATCH] Build fixes (#4582) * Fix link in split mode * clean * Fix link validate-odbc-connection-string * Fix includes --- dbms/src/Compression/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/dbms/src/Compression/CMakeLists.txt b/dbms/src/Compression/CMakeLists.txt index 288d452bebf..10ef3993899 100644 --- a/dbms/src/Compression/CMakeLists.txt +++ b/dbms/src/Compression/CMakeLists.txt @@ -3,6 +3,7 @@ add_headers_and_sources(clickhouse_compression .) add_library(clickhouse_compression ${LINK_MODE} ${clickhouse_compression_headers} ${clickhouse_compression_sources}) target_link_libraries(clickhouse_compression PRIVATE clickhouse_parsers clickhouse_common_io ${ZSTD_LIBRARY} ${LZ4_LIBRARY}) target_include_directories(clickhouse_compression PUBLIC ${DBMS_INCLUDE_DIR}) +target_include_directories(clickhouse_compression SYSTEM PUBLIC ${PCG_RANDOM_INCLUDE_DIR}) if (NOT USE_INTERNAL_LZ4_LIBRARY) target_include_directories(clickhouse_compression SYSTEM BEFORE PRIVATE ${LZ4_INCLUDE_DIR})