mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-13 02:53:38 +00:00
29 lines
737 B
CMake
29 lines
737 B
CMake
include_directories (include)
|
|
include_directories (${CMAKE_SOURCE_DIR}/libs/libcommon/include)
|
|
|
|
include(${CMAKE_SOURCE_DIR}/cmake/dbms_include.cmake)
|
|
|
|
add_library(zkutil
|
|
src/ZooKeeper.cpp
|
|
src/Lock.cpp
|
|
src/SingleBarrier.cpp
|
|
src/RWLock.cpp
|
|
src/ZooKeeperHolder.cpp
|
|
|
|
include/zkutil/Increment.h
|
|
include/zkutil/LeaderElection.h
|
|
include/zkutil/KeeperException.h
|
|
include/zkutil/Common.h
|
|
include/zkutil/Lock.h
|
|
include/zkutil/SingleBarrier.h
|
|
include/zkutil/RWLock.h
|
|
include/zkutil/ZooKeeper.h
|
|
include/zkutil/Types.h
|
|
include/zkutil/ZooKeeperHolder.h)
|
|
|
|
find_package (Threads)
|
|
|
|
target_link_libraries(zkutil zookeeper ${Poco_Foundation_LIBRARY} ${CMAKE_THREAD_LIBS_INIT} string_utils)
|
|
|
|
add_subdirectory (src)
|