Skip to content

Commit

Permalink
Set CMP0115 to new in EthPolicy
Browse files Browse the repository at this point in the history
  • Loading branch information
Pospelove authored Aug 30, 2022
1 parent ecdc808 commit 6e1f0e7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmake/EthPolicy.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 6e1f0e7

Please sign in to comment.