From 02b1807c7bb58f7182fa9e91681351a53c3ebbca Mon Sep 17 00:00:00 2001 From: Shouren Yang Date: Mon, 23 Dec 2024 16:41:35 +0800 Subject: [PATCH] fix errors in src/test/CMakeLists.txt --- src/test/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt index fe5b39e3ee8..7e4a9ccfc9f 100644 --- a/src/test/CMakeLists.txt +++ b/src/test/CMakeLists.txt @@ -5,11 +5,11 @@ add_library(openmldb_test_base base_test.cc util.cc) # TODO: Fix me after upgrade Boost or fix nonnull errors in Boost -target_compile_options(${LIB_NAME} PRIVATE +target_compile_options(openmldb_test_base PRIVATE $<$:-Wno-error=nonnull> $<$:-Wno-error=nonnull> ) -target_compile_options(${LIB_NAME} PRIVATE +target_compile_options(openmldb_test_base PRIVATE $<$:-Wno-nonnull> $<$:-Wno-nonnull> )