Improve comment on CMP0115

Co-authored-by: Kamil Śliwak <cameel2@gmail.com>
This commit is contained in:
Leonid Pospelov 2022-08-31 12:12:15 +03:00 committed by GitHub
parent 6e1f0e73b6
commit 6d331a8c8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,8 @@ macro (eth_policy)
endif() endif()
if(POLICY CMP0115) 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 # https://gitlab.kitware.com/cmake/cmake/-/issues/23154
cmake_policy(SET CMP0115 NEW) cmake_policy(SET CMP0115 NEW)
endif() endif()