]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: do not use CMP0074 unless it is supported
authorKefu Chai <kchai@redhat.com>
Tue, 3 Dec 2019 01:50:10 +0000 (09:50 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 3 Dec 2019 01:51:17 +0000 (09:51 +0800)
commitdd0cdb3eb6cffc8cc0bb5d4ba0a54fd67c5bfd3a
treeadb2aba5670a81713627a8039a4db238c353657a
parentc794ebb26e0511089f2cd7ed40c50986f13bb0f6
cmake: do not use CMP0074 unless it is supported

CMake CMP0074 was introduced by CMake 3.12, but we only require CMake
v3.10.2. so default to check `Boost_ROOT` unless specified otherwise.

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