1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-04 09:42:40 +02:00

Set CMAKE_C_COMPILER and CMAKE_CXX_COMPILER to gcc and g++ for windows-mingw-release preset.

Prevents various situations where clang is chosen over gcc, which is unintended when using windows-mingw-release preset
This commit is contained in:
Joakim Thorén 2024-11-14 23:26:24 +01:00
parent 7be44278d7
commit 9a1e48c349

View File

@ -134,7 +134,9 @@
"description": "VCMI Windows Ninja using MinGW", "description": "VCMI Windows Ninja using MinGW",
"inherits": "default-release", "inherits": "default-release",
"cacheVariables": { "cacheVariables": {
"CMAKE_BUILD_TYPE": "Release" "CMAKE_BUILD_TYPE": "Release",
"CMAKE_C_COMPILER": "gcc",
"CMAKE_CXX_COMPILER": "g++"
} }
}, },
{ {