summaryrefslogtreecommitdiffstats
path: root/ll-store-binding/src/CMakeLists.txt
blob: b447f9875c177f132bdcda0f62c6cd8672b85c79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
PROJECT_TARGET_ADD(ll-store-binding)

list(APPEND link_libraries "/usr/lib64/liblmdb.so")
add_library(ll-store-binding MODULE ll-store-binding.c)

set_target_properties(ll-store-binding PROPERTIES
	PREFIX "afb-"
	LABELS "BINDING"
	LINK_FLAGS ${BINDINGS_LINK_FLAG}
	OUTPUT_NAME ${TARGET_NAME})

target_link_libraries(ll-store-binding ${link_libraries})

install(
	TARGETS ll-store-binding
	LIBRARY DESTINATION ${BINDINGS_INSTALL_DIR})