mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-30 19:22:02 +08:00
Fix deps preset conditionals
This commit is contained in:
parent
fe22004818
commit
cd094ce831
33
deps/CMakePresets.json
vendored
33
deps/CMakePresets.json
vendored
@ -1,6 +1,15 @@
|
||||
{
|
||||
"version": 3,
|
||||
"configurePresets": [
|
||||
{
|
||||
"name": "linux-only",
|
||||
"hidden": true,
|
||||
"condition": {
|
||||
"type": "equals",
|
||||
"lhs": "${hostSystemName}",
|
||||
"rhs": "Linux"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "windows-only",
|
||||
"hidden": true,
|
||||
@ -11,21 +20,6 @@
|
||||
},
|
||||
"cacheVariables": {
|
||||
"DEP_DEBUG": true
|
||||
},
|
||||
"environment": {
|
||||
"PLATFORM": "WINDOWS"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linux-only",
|
||||
"hidden": true,
|
||||
"condition": {
|
||||
"type": "equals",
|
||||
"lhs": "${hostSystemName}",
|
||||
"rhs": "Linux"
|
||||
},
|
||||
"environment": {
|
||||
"PLATFORM": "LINUX"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -35,9 +29,6 @@
|
||||
"type": "equals",
|
||||
"lhs": "${hostSystemName}",
|
||||
"rhs": "Darwin"
|
||||
},
|
||||
"environment": {
|
||||
"PLATFORM": "MAC"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -45,7 +36,11 @@
|
||||
"displayName": "Default Config",
|
||||
"description": "Default build for any desktop OS",
|
||||
"binaryDir": "${sourceDir}/build-default",
|
||||
"inherits": ["windows-only", "linux-only"],
|
||||
"inherits": ["mac-only", "windows-only", "linux-only"],
|
||||
"condition": {
|
||||
"type": "const",
|
||||
"value": true
|
||||
},
|
||||
"cacheVariables": {
|
||||
"CMAKE_BUILD_TYPE": "Release",
|
||||
"DEP_WX_GTK3": true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user