ClickHouse/contrib/libzookeeper/CMakeLists.txt
2017-03-28 20:46:16 +03:00

23 lines
435 B
CMake

add_definitions(-DHAVE_CONFIG_H -DTHREADED)
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
add_definitions(-Wno-unused-but-set-variable)
endif()
add_library (zookeeper_mt
src/zookeeper.c
src/zookeeper.jute.c
src/zk_hashtable.c
src/zk_log.c
src/mt_adaptor.c
src/recordio.c
src/hashtable/hashtable.c
src/hashtable/hashtable_itr.c
)
target_include_directories (zookeeper_mt
PRIVATE include/zookeeper
PRIVATE src
INTERFACE include
)