diff --git a/dbms/CMakeLists.txt b/dbms/CMakeLists.txt index e6072f65b5f..76d4ebd7dbf 100644 --- a/dbms/CMakeLists.txt +++ b/dbms/CMakeLists.txt @@ -203,7 +203,6 @@ target_link_libraries (clickhouse_common_io roaring ) -target_include_directories(clickhouse_common_io SYSTEM BEFORE PUBLIC ${PDQSORT_INCLUDE_DIR}) target_include_directories(clickhouse_common_io SYSTEM BEFORE PUBLIC ${RE2_INCLUDE_DIR}) @@ -235,6 +234,7 @@ target_link_libraries (dbms Threads::Threads ) +target_include_directories(dbms SYSTEM BEFORE PUBLIC ${PDQSORT_INCLUDE_DIR}) if (NOT USE_INTERNAL_BOOST_LIBRARY) target_include_directories (clickhouse_common_io SYSTEM BEFORE PUBLIC ${Boost_INCLUDE_DIRS})