From 8b6d6d52d4398213d34a3d95e160fde0a717f7b5 Mon Sep 17 00:00:00 2001 From: jinjunzh Date: Mon, 11 Dec 2023 16:37:49 -0500 Subject: [PATCH] refine cmake for header --- contrib/QAT-ZSTD-Plugin-cmake/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/QAT-ZSTD-Plugin-cmake/CMakeLists.txt b/contrib/QAT-ZSTD-Plugin-cmake/CMakeLists.txt index db3b629965c..3fd91b13181 100644 --- a/contrib/QAT-ZSTD-Plugin-cmake/CMakeLists.txt +++ b/contrib/QAT-ZSTD-Plugin-cmake/CMakeLists.txt @@ -81,6 +81,7 @@ target_include_directories(_qatzstd_plugin PRIVATE ${LIBQAT_HEADER_DIR}) target_compile_definitions(_qatzstd_plugin PRIVATE -DDEBUGLEVEL=0 PUBLIC -DENABLE_QATZSTD_COMPRESSION -DINTREE) add_library (ch_contrib::qatzstd_plugin ALIAS _qatzstd_plugin) -target_include_directories(_qatzstd_plugin SYSTEM BEFORE PUBLIC ${QATZSTD_SRC_DIR}) +target_include_directories(_qatzstd_plugin SYSTEM PUBLIC ${QATZSTD_SRC_DIR}) +#target_compile_options(_qatzstd_plugin PRIVATE -Wno-zero-as-null-pointer-constant) endif ()