GitHub user proller opened a pull request:
https://github.com/apache/zookeeper/pull/386
Cmake fixes
1. decrease cmake version (to allow compile on some old systems)
2. do not use global include_directories (and auto include when linking to
external projects)
3. replace CMAKE_SOURCE_DIR with CMAKE_CURRENT_SOURCE_DIR - it allow
compile zookeper added to other project with add_subdirectory()
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ClickHouse-Extras/zookeeper clickhouse_cmake
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/386.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #386
----
commit a338479b84dd92c4858d47c5a3a09483abd427b4
Author: proller <[email protected]>
Date: 2017-09-28T14:40:38Z
Cmake fixes:
1. decrease cmake version (to allow compile on some old systems)
2. do not use global include_directories (and auto include when linking to
external projects)
3. replace CMAKE_SOURCE_DIR with CMAKE_CURRENT_SOURCE_DIR - it allow
compile zookeper added to other project with add_subdirectory()
----
---