Skip to content

Commit 07147aa

Browse files
committed
cmake: default the Windows runtime prefix to UCRT64
CMake's x64 build definitions already select UCRT64, but the runtime fallback still assumes `/mingw64`. Match the existing defaults when `system_prefix()` cannot infer the prefix from the executable location. Normal discovery and explicit architecture definitions remain unchanged. Assisted-by: GPT-6 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 2156aaa commit 07147aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎contrib/buildsystems/CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ add_compile_definitions(PAGER_ENV="LESS=FRX LV=-c"
258258
BINDIR="bin")
259259

260260
if(WIN32)
261-
set(FALLBACK_RUNTIME_PREFIX /mingw64)
261+
set(FALLBACK_RUNTIME_PREFIX /ucrt64)
262262
# Move system config into top-level /etc/
263263
add_compile_definitions(FALLBACK_RUNTIME_PREFIX="${FALLBACK_RUNTIME_PREFIX}"
264264
ETC_GITATTRIBUTES="../etc/gitattributes"

0 commit comments

Comments
 (0)