in src/test/CMakeLists.txt
to avoid build error for ppc64/ppc64le archi
Fixes: http://tracker.ceph.com/issues/17104
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
if(HAVE_NEON)
set(PERF_LOCAL_FLAGS ${ARM_NEON_FLAGS})
endif(HAVE_NEON)
-set_target_properties(ceph_perf_local PROPERTIES COMPILE_FLAGS
- ${PERF_LOCAL_FLAGS})
+if(PERF_LOCAL_FLAGS)
+ set_target_properties(ceph_perf_local PROPERTIES COMPILE_FLAGS
+ ${PERF_LOCAL_FLAGS})
+endif()
target_link_libraries(ceph_perf_local os global ${UNITTEST_LIBS})
# ceph_xattr_bench