Skip to content

Commit 6e1f0e7

Browse files
authored
Set CMP0115 to new in EthPolicy
1 parent ecdc808 commit 6e1f0e7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cmake/EthPolicy.cmake

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,10 @@ macro (eth_policy)
2525
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
2626
cmake_policy(SET CMP0135 NEW)
2727
endif()
28+
29+
if(POLICY CMP0115)
30+
# speedup of cmake command on Windows
31+
# https://gitlab.kitware.com/cmake/cmake/-/issues/23154
32+
cmake_policy(SET CMP0115 NEW)
33+
endif()
2834
endmacro()

0 commit comments

Comments
 (0)