Set CMP0115 to new in EthPolicy

This commit is contained in:
Leonid Pospelov 2022-08-31 01:50:30 +03:00 committed by GitHub
parent ecdc808e67
commit 6e1f0e73b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,4 +25,10 @@ macro (eth_policy)
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
cmake_policy(SET CMP0135 NEW)
endif()
if(POLICY CMP0115)
# speedup of cmake command on Windows
# https://gitlab.kitware.com/cmake/cmake/-/issues/23154
cmake_policy(SET CMP0115 NEW)
endif()
endmacro()