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:
parent
7be44278d7
commit
9a1e48c349
@ -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++"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user