From 6d331a8c8aa8db234ef7bb9d89a8cfa86452f00a Mon Sep 17 00:00:00 2001 From: Leonid Pospelov Date: Wed, 31 Aug 2022 12:12:15 +0300 Subject: [PATCH] Improve comment on CMP0115 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Kamil ƚliwak --- cmake/EthPolicy.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/EthPolicy.cmake b/cmake/EthPolicy.cmake index adde3b742..eb5c37e24 100644 --- a/cmake/EthPolicy.cmake +++ b/cmake/EthPolicy.cmake @@ -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()