]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: use a loop for setting new policies
authorKefu Chai <tchaikov@gmail.com>
Sat, 27 Aug 2022 01:47:44 +0000 (09:47 +0800)
committerKefu Chai <tchaikov@gmail.com>
Sat, 27 Aug 2022 01:49:27 +0000 (09:49 +0800)
commit591e0c6195ab769e5fc96075ce48cb7c2a26407a
tree725faf6b52f9abd1127924d499de78a853b95bcc
parent75d4ce7169efac7895e25e140e7a14387224022e
cmake: use a loop for setting new policies

we were using a for loop for this purpose, but the for loop was unrolled
when we bumped up the required cmake version.

this change paves the road to setting "CMP0135" to "NEW". this policy
is a new one introduced by CMake v3.24.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
CMakeLists.txt