Skip to content

Commit

Permalink
build: Use warning level on missing appropriate version of compiler
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>
  • Loading branch information
cosmo0920 committed Oct 10, 2024
1 parent 1327d04 commit d1a8d23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ if(FLB_UNICODE_ENCODER)
add_subdirectory(${FLB_PATH_LIB_SIMDUTF} EXCLUDE_FROM_ALL)
FLB_DEFINITION(FLB_HAVE_UNICODE_ENCODER)
else()
message(STATUS "${CMAKE_CXX_COMPILER} version: ${CMAKE_CXX_COMPILER_VERSION} is too old. Disabling simdutf library build.")
message(WARNING "${CMAKE_CXX_COMPILER} version: ${CMAKE_CXX_COMPILER_VERSION} is too old. Disabling simdutf library build.")
set (FLB_UNICODE_ENCODER Off)
endif()
endif()
Expand Down

0 comments on commit d1a8d23

Please sign in to comment.