summaryrefslogtreecommitdiffstats
path: root/src/tools/rbd_wnbd/CMakeLists.txt
blob: 38f4639612984bba62a033c1030f9bde5b476b12 (plain)
1
2
3
4
5
6
7
8
9
10
add_executable(rbd-wnbd wnbd_handler.cc rbd_wnbd.cc)
set_target_properties(
    rbd-wnbd PROPERTIES COMPILE_FLAGS
    "-fpermissive -I${WNBD_INCLUDE_DIRS}")
target_link_libraries(
    rbd-wnbd setupapi rpcrt4
    ${WNBD_LIBRARIES}
    ${Boost_FILESYSTEM_LIBRARY}
    librbd librados global)
install(TARGETS rbd-wnbd DESTINATION bin)