Github user owen-hortonworks commented on a diff in the pull request:
https://github.com/apache/orc/pull/191#discussion_r153620812
--- Diff: site/_docs/building.md ---
@@ -70,3 +70,25 @@ To build:
% mvn package
~~~
+## Building just C++
+
+~~~ shell
+% mkdir build
+% cd build
+% cmake .. -DBUILD_JAVA=OFF
+% make package test-out
+~~~
+
+## Specify third-party libraries for C++ build
+
+~~~ shell
+% mkdir build
+% cd build
+% GTEST_HOME=<PATH to Google Test library> \
+ SNAPPY_HOME=<PATH to Snappy library> \
+ ZLIB_HOME=<PATH to ZLIB library> \
+ LZ4_HOME=<PATH to LZ4 library> \
+ PROTOBUF_HOME=<PATH to Protobuf library> \
+ cmake .. -DBUILD_JAVA=OFF
+% make package test-out
--- End diff --
I'm using cmake 3.5.1, but it works for me. Why would you need environment
variables instead of cmake variables?
---