CMAKE: optionally link to ZLIB as systemlib / shared objects. (#15382)
authorMyungJoo Ham <myungjoo.ham@gmail.com>
Mon, 12 Feb 2018 07:04:43 +0000 (16:04 +0900)
committerGunhan Gulsoy <gunan@google.com>
Mon, 12 Feb 2018 07:04:43 +0000 (23:04 -0800)
commit80df0867184077c3cf228e77d55074048e79e63a
tree7eb5bc76b3ff9538f603bc32a7b9650ec396f2fb
parent3378865c5509dfb6d18e6f95f28757437f67d3da
CMAKE: optionally link to ZLIB as systemlib / shared objects. (#15382)

If the user has ZLIB (and devel pkg) installed at the system
and the user wants to keep using that ZLIB for tensorflow,
the cmake option "-Dsystemlib_ZLIB=ON" will allow to do so.

Another option "-Dsystemlib_ALL=ON" will turn on every
"systemlib_*" options.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
tensorflow/contrib/cmake/CMakeLists.txt
tensorflow/contrib/cmake/external/zlib.cmake