]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: find GIT_VER variables if there is no .git dir 11499/head
authorAli Maredia <amaredia@redhat.com>
Fri, 14 Oct 2016 18:02:17 +0000 (14:02 -0400)
committerAli Maredia <amaredia@redhat.com>
Fri, 14 Oct 2016 18:06:27 +0000 (14:06 -0400)
commitc5c6b59f296f0ace3a6cfd939027118e82ab50a4
treea30c7f1e322b2ff7fc041a48921bcc3f667cf97c
parent676cd2976f54cfebfb0612c57eb3a513034373dd
cmake: find GIT_VER variables if there is no .git dir

find CEPH_GIT_VER & CEPH_GIT_NICE_VER if there is no
ceph/.git dir by parsing ceph/src/.git_version.

scenario is for building from source tarballs generated
by make-dist, since make-dist generates .git_version
by running make_version, and then packs .git_version
into the tarball.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
src/CMakeLists.txt