]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: move include(GNUInstallDirs) up
authorKefu Chai <kchai@redhat.com>
Wed, 17 Jun 2020 22:33:13 +0000 (06:33 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 17 Jun 2020 22:33:15 +0000 (06:33 +0800)
commite6a773bc7a9fc8c837ac302b2b06b4671d134cf2
treed96fc0643b80001bd2fc200150b113b47245aec0
parente49a196f549ef55f85e171a8cae6be3c5511b587
cmake: move include(GNUInstallDirs) up

so systemd/CMakeLists.txt can have access to the variables defined by
it. quote from https://cmake.org/cmake/help/latest/command/include.html.

> Variable reads and writes access the scope of the caller (dynamic
> scoping).

Signed-off-by: Kefu Chai <kchai@redhat.com>
CMakeLists.txt
src/CMakeLists.txt