From: Kefu Chai Date: Mon, 16 Nov 2020 06:04:15 +0000 (+0800) Subject: cmake: enable CMP0074 X-Git-Tag: v16.1.0~579^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8eeb7da944fb105ef5a8748e2f854189452c59ee;p=ceph.git cmake: enable CMP0074 to search prefixes specified by the _ROOT CMake variable and the _ROOT environment variable. find_package() in CMake 3.12 started to use these prefixes if it is enabled. Signed-off-by: Kefu Chai --- diff --git a/CMakeLists.txt b/CMakeLists.txt index e2da7739c26f..a5c560fee6d9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,7 @@ foreach(policy CMP0054 CMP0056 CMP0065 + CMP0074 CMP0075) if(POLICY ${policy}) cmake_policy(SET ${policy} NEW)