Skip to content

Commit 6d331a8

Browse files
Pospelovecameel
andauthored
Improve comment on CMP0115
Co-authored-by: Kamil Śliwak <[email protected]>
1 parent 6e1f0e7 commit 6d331a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmake/EthPolicy.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ macro (eth_policy)
2727
endif()
2828

2929
if(POLICY CMP0115)
30-
# speedup of cmake command on Windows
30+
# Require explicit extensions for source files, do not guess.
31+
# The extra calls to GetFileAttributesW significantly slow down cmake on Windows.
3132
# https://gitlab.kitware.com/cmake/cmake/-/issues/23154
3233
cmake_policy(SET CMP0115 NEW)
3334
endif()

0 commit comments

Comments
 (0)