otherwise this cmake variable is never defined, hence all tests
requiring libstriper are broken.
this is a regresssion introduced by
5513a90c62 .
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit
e17900d552aef1ac96e5d1d60ec3ff179ceb38e9)
add_subdirectory(include)
add_subdirectory(librados)
-add_subdirectory(libradosstriper)
+
+option(WITH_LIBRADOSSTRIPER "build with libradosstriper support" ON)
+if(WITH_LIBRADOSSTRIPER)
+ add_subdirectory(libradosstriper)
+endif()
if (WITH_MGR)
set(mgr_srcs