]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: find GIT_VER variables if there is no .git dir
authorAli Maredia <amaredia@redhat.com>
Fri, 14 Oct 2016 18:02:17 +0000 (14:02 -0400)
committerAlfredo Deza <adeza@redhat.com>
Mon, 17 Oct 2016 15:47:32 +0000 (11:47 -0400)
commiteab4664287ed8f8013b488d7a71e11ee70a7d4d1
tree2ddfa612a70820a112a9eb1fff093ede9b17d873
parent78e262afd5e91a8e1cdb640446fd74e0d7283e91
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>
(cherry picked from commit c5c6b59f296f0ace3a6cfd939027118e82ab50a4)
src/CMakeLists.txt