2016-06-26 08:13:49 +00:00
|
|
|
|
2017-02-28 23:49:04 +00:00
|
|
|
add_library (zookeeper_mt
|
2016-06-26 08:13:49 +00:00
|
|
|
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
|
|
|
|
)
|
2017-02-22 14:34:36 +00:00
|
|
|
|
2017-08-03 12:44:39 +00:00
|
|
|
target_compile_definitions (zookeeper_mt PRIVATE HAVE_CONFIG_H THREADED)
|
|
|
|
|
|
|
|
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
|
|
|
target_compile_options (zookeeper_mt PRIVATE -Wno-unused-but-set-variable)
|
|
|
|
endif()
|
|
|
|
|
2017-02-22 14:34:36 +00:00
|
|
|
target_include_directories (zookeeper_mt
|
2017-08-03 12:44:39 +00:00
|
|
|
PRIVATE include/zookeeper
|
|
|
|
PRIVATE src
|
|
|
|
INTERFACE include
|
2017-02-22 14:34:36 +00:00
|
|
|
)
|