1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-04-18 21:44:02 +03:00
Denis Khalikov bb861f8fab FDB
This patch moves FDB to utils dir and adds test on `remove keys range`.
2024-08-28 15:02:08 +04:00

25 lines
666 B
CMake

include_directories(${ENGINE_COMMON_INCLUDES})
find_library(FDB_LIB fdb_c)
if (NOT FDB_LIB)
MESSAGE_ONCE(FATAL_ERROR "FoundationDB not installed properly, please install packages foundationdb-cliends and foundationdb-server")
return()
endif()
add_library(fdbcs SHARED src/fdbcs.cpp)
target_link_libraries(fdbcs fdb_c)
add_executable(test_fdb_api test/test_fdb_api.cpp)
add_dependencies(test_fdb_api fdbcs)
target_link_libraries(test_fdb_api fdbcs fdb_c)
install(TARGETS fdbcs
LIBRARY DESTINATION ${ENGINE_LIBDIR}
COMPONENT columnstore-engine
)
install(TARGETS test_fdb_api
RUNTIME DESTINATION ${ENGINE_BINDIR}
COMPONENT columnstore-engine
)