We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 220aece + 6d331a8 commit 5192965Copy full SHA for 5192965
cmake/EthPolicy.cmake
@@ -25,4 +25,11 @@ macro (eth_policy)
25
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
26
cmake_policy(SET CMP0135 NEW)
27
endif()
28
+
29
+ if(POLICY CMP0115)
30
+ # Require explicit extensions for source files, do not guess.
31
+ # The extra calls to GetFileAttributesW significantly slow down cmake on Windows.
32
+ # https://gitlab.kitware.com/cmake/cmake/-/issues/23154
33
+ cmake_policy(SET CMP0115 NEW)
34
+ endif()
35
endmacro()
0 commit comments