Skip to content

Commit

Permalink
Improve comment on CMP0115
Browse files Browse the repository at this point in the history
Co-authored-by: Kamil Śliwak <[email protected]>
  • Loading branch information
Pospelove and cameel authored Aug 31, 2022
1 parent 6e1f0e7 commit 6d331a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/EthPolicy.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ macro (eth_policy)
endif()

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

0 comments on commit 6d331a8

Please sign in to comment.