]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cmake: check for libsnappy in default path also 7366/head
authorKefu Chai <kchai@redhat.com>
Tue, 26 Jan 2016 13:07:04 +0000 (21:07 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 26 Jan 2016 15:53:31 +0000 (23:53 +0800)
commit5efc5dce737ecdf5c902c4cfe34365a35e1c2abf
tree36fb1275de86ec409d028a0e8bd347c10f47d029
parent1acfec1388114501ad3fd7067a88f4ac07dfe758
cmake: check for libsnappy in default path also

* some distros install libsnappy into /usr/lib/x86_64-linux-gnu
  which is completely resonable. but this directory is not listed
  in the Findsnappy.cmake.
* also add SNAPPY_ROOT_DIR, in case user install snappy in some
  other directory.

Signed-off-by: Kefu Chai <kchai@redhat.com>
cmake/modules/Findsnappy.cmake