ClickHouse/contrib/libzookeeper/CMakeLists.txt
proller d6833a0d55 Cmake: remove global include_directories (#1055)
* Fix .h compile

* Cmake: remove global include_directories

* boost include hide

* fix cctz

* add \n
2017-08-03 15:44:39 +03:00

24 lines
501 B
CMake

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_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()
target_include_directories (zookeeper_mt
PRIVATE include/zookeeper
PRIVATE src
INTERFACE include
)