Open sksat opened 2 years ago
URL_HASH
がおかしくなってるのかと思ったけれど,本当の問題は直後のDOWNLOAD_EXTRACT_TIMESTAMP
.これがCMake 3.24からの機能だった.
https://cmake.org/cmake/help/latest/module/ExternalProject.html
DOWNLOAD_EXTRACT_TIMESTAMP
New in version 3.24. When specified with a true value, the timestamps of the extracted files will match those in the archive. When false, the timestamps of the extracted files will reflect the time at which the extraction was performed. If the download URL changes, timestamps based off those in the archive can result in dependent targets not being rebuilt when they potentially should have been. Therefore, unless the file timestamps are significant to the project in some way, use a false value for this option. If DOWNLOAD_EXTRACT_TIMESTAMP is not given, the default is false. See policy CMP0135.
対処案としては,
cmake_minimum_required
を3.24に上げるDOWNLOAD_EXTRACT_TIMESTAMP
を使うのを一旦やめるがあり,できれば前者で行きたいものの, Visual Studio 2022でCMakeが3.23の環境が存在しているので難しい.
https://cmake.org/cmake/help/latest/generator/Visual%20Studio%2017%202022.html CMake Visual Studio 17 2022 Generatorが
New in version 3.21.
とのことなので,3.21からもあり得るか
build後の cmake --install
でなぜかCドライブ直下に ExtLibraries
がインストールされる事象もありましたね
あれは絶対パスを指定すべきやつでしたねたぶん(Windowsのパス周りは渋いので......)
ふむー じゃあこのissueのスコープとはまた違いそうですね
ですね(まあいずれにしろドキュメントは書かないといけない)
参考情報:
3.22.1
3.24.2
Overview
SSIA
Details
Description
reported from @Yoshiki-Iwasa error log:
Conditions of occurrence
Additional information
files, link, etc, if any.
Task
Scope of influence
eg. All tools are not working.
Supplement
Write additional comments if you need.
Note
priority
label if possible.