Skip to content

Commit d67934b

Browse files
committed
CMakeLists.txt: build test_trans only if WITH_BLUESTORE=yes
Fixes build failure with `WITH_BLUESTORE=no` because that unit test requires Bluestore code. Signed-off-by: Max Kellermann <[email protected]>
1 parent a3cf842 commit d67934b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ add_executable(ceph_test_mutate
168168
target_link_libraries(ceph_test_mutate global librados ${BLKID_LIBRARIES}
169169
${CMAKE_DL_LIBS})
170170

171-
if(NOT WIN32)
171+
if(WITH_BLUESTORE AND NOT WIN32)
172172
# test_trans
173173
add_executable(test_trans
174174
test_trans.cc

0 commit comments

Comments
 (0)