Skip to content

Commit

Permalink
fix errors in src/test/CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Shouren authored Dec 23, 2024
1 parent e484c9a commit 02b1807
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
$<$<COMPILE_LANGUAGE:CXX>:-Wno-error=nonnull>
$<$<COMPILE_LANGUAGE:C>:-Wno-error=nonnull>
)
target_compile_options(${LIB_NAME} PRIVATE
target_compile_options(openmldb_test_base PRIVATE
$<$<COMPILE_LANGUAGE:CXX>:-Wno-nonnull>
$<$<COMPILE_LANGUAGE:C>:-Wno-nonnull>
)
Expand Down

0 comments on commit 02b1807

Please sign in to comment.