Fix FreeBSD build

This commit is contained in:
Robert Schulze 2023-05-07 06:54:21 +00:00
parent 76cf206efe
commit fc4288d3ac
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
if (NOT TARGET ch_contrib::nuraft)
message (${RECONFIGURE_MESSAGE_LEVEL} "Not building keeper-data-dumper due to nuraft is disabled")
message (WARNING "Not building keeper-data-dumper due to nuraft is disabled")
return ()
endif ()

View File

@ -1,5 +1,6 @@
# memcpy_jart.S contains position dependent code
if (CMAKE_POSITION_INDEPENDENT_CODE OR NOT OS_LINUX OR NOT ARCH_AMD64)
message (WARNING "Not building memcpy-bench due to PIC enabled or not Linux or not x86")
return ()
endif ()