]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
build: Make `tests` depend on `neorados`
authorAdam Emerson <aemerson@redhat.com>
Fri, 8 Sep 2023 02:47:04 +0000 (22:47 -0400)
committerAdam Emerson <aemerson@redhat.com>
Thu, 14 Sep 2023 21:48:00 +0000 (17:48 -0400)
To make sure it's built by `make check`.

Signed-off-by: Adam Emerson <aemerson@redhat.com>
src/tools/CMakeLists.txt

index 4a891e22fa174b07eb4a637ba6948492d3db3a23..1fbf400442b30de9e12a1115e8cdf25d7e228978 100644 (file)
@@ -21,6 +21,7 @@ if(NOT WIN32)
       neorados.cc)
   add_executable(neorados ${neorados_srcs})
   target_link_libraries(neorados libneorados fmt::fmt ${CMAKE_DL_LIBS})
+  add_dependencies(tests neorados)
   #install(TARGETS neorados DESTINATION bin)
 endif()