cmake: do not build unit test of seastar

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2019-05-07 23:05:20 +08:00
parent a2ce72fe4f
commit ad86669dc3

View File

@ -295,6 +295,7 @@ if(WITH_SEASTAR)
endmacro ()
set(Seastar_HWLOC OFF CACHE BOOL "" FORCE)
set(Seastar_STD_OPTIONAL_VARIANT_STRINGVIEW ON CACHE BOOL "" FORCE)
set(Seastar_TESTING OFF CACHE BOOL "" FORCE)
set(Seastar_CXX_FLAGS "-Wno-error;-Wno-sign-compare;-Wno-attributes;-Wno-pessimizing-move;-Wno-address-of-packed-member" CACHE STRING "" FORCE)
add_subdirectory(seastar)
# create the directory so cmake won't complain when looking at the imported