Fix Windows build: fetch GLFW/ImGui without Git - #53
Conversation
Fetch GLFW/ImGui via tagged GitHub zip archives instead of git clone so CMake FetchContent no longer requires git. Update build.bat and WINDOWS_BUILD.md to match. Co-authored-by: jmossymoss <jmossymoss@users.noreply.github.com>
Code review (Devin) — PR #53Small, well-targeted change ( 1.
|
Problem
Windows configure failed with:
app/CMakeLists.txtusedFetchContentwithGIT_REPOSITORY, so CMake requiredgiton PATH.build.battreated Git as optional and skipped installing it, which matches the failure when building with a local OCCT tree and no Git.Fix
v1.90.9-dockingas GitHub tag zip archives (URL+URL_HASH) instead of cloning.CMP0135NEW when available to avoid archive-timestamp warnings on newer CMake.WINDOWS_BUILD.md.Verification
gitremoved fromPATH.How to re-run on Windows
build\CMakeCache.txt(andbuild\_depsif present).build.bat.No Git install is required for the GLFW/ImGui download; internet access at configure time still is.