From c17c8e78159bb0ec1fc574c97e2e6d0c5506687f Mon Sep 17 00:00:00 2001 From: Martchus Date: Sat, 30 Dec 2023 19:34:22 +0100 Subject: [PATCH] Set `GOROOT` for `x64-windows-static` preset in accordance with `GO_BIN` Unfortunately the final linking still doesn't work due to conflicting symbols (and using the ucrt64 version doesn't change that). --- CMakePresets.json | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakePresets.json b/CMakePresets.json index 721e423..11f01b0 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -284,6 +284,7 @@ "DOXYGEN_BIN": {"type": "FILEPATH", "value": "$env{MSYS2_ROOT}/mingw64/bin/doxygen.exe"}, "CLANG_FORMAT_BIN": {"type": "FILEPATH", "value": "$env{MSYS2_ROOT}/mingw64/bin/clang-format.exe"}, "GO_BIN": {"type": "FILEPATH", "value": "$env{MSYS2_ROOT}/mingw64/bin/go.exe"}, + "GOROOT": {"type": "PATH", "value": "$env{MSYS2_ROOT}/mingw64/lib/go"}, "FFMPEG_BIN": {"type": "FILEPATH", "value": "$env{MSYS2_ROOT}/mingw64/bin/ffmpeg.exe"}, "REALPATH_BIN": {"type": "FILEPATH", "value": "$env{MSYS2_ROOT}/usr/bin/realpath.exe"}, "FORCE_EXTERNAL_ICONV": {"type": "BOOL", "value": "ON"},