summaryrefslogtreecommitdiffstats
path: root/src/test/libcephsqlite/CMakeLists.txt
blob: 461c18476dd98ebeb9b228b3cc5c61187904cb7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
if(WITH_LIBCEPHSQLITE)
  add_executable(ceph_test_libcephsqlite
    main.cc
  )
  target_link_libraries(ceph_test_libcephsqlite
    cephsqlite
    librados
    ceph-common
    SQLite3::SQLite3
    ${UNITTEST_LIBS}
    ${EXTRALIBS}
    ${CMAKE_DL_LIBS}
    )
  install(TARGETS ceph_test_libcephsqlite DESTINATION ${CMAKE_INSTALL_BINDIR})
endif(WITH_LIBCEPHSQLITE)