Skip to content

Commit e4be64d

Browse files
committed
build: Enable CMP0177 policy
Fix the warning that CMake policy CMP0177 is not set. Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
1 parent 9d7121d commit e4be64d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ if(POLICY CMP0056)
7777
cmake_policy(SET CMP0056 NEW)
7878
endif()
7979

80+
if(POLICY CMP0177)
81+
cmake_policy(SET CMP0177 NEW)
82+
endif()
83+
8084
set(PACKAGE_NAME "RDMA")
8185

8286
# See Documentation/versioning.md

0 commit comments

Comments
 (0)