Only depends on i-slint-backend-linuxkms on linux, even if the feature is enabled

This allows to simplify the npm build as well
This commit is contained in:
Olivier Goffart 2024-01-26 11:25:35 +01:00
parent c29314b2a8
commit 83adb467c0
4 changed files with 11 additions and 15 deletions

View file

@ -22,8 +22,7 @@ crate-type = ["cdylib"]
[features]
default = ["backend-winit", "renderer-femtovg", "backend-qt", "accessibility"]
# Keep in sync with features in nightly_snapshot.yaml, cpp_package.yaml, and slint_tool_binary.yaml
# binaries: default = ["backend-winit", "renderer-femtovg", "renderer-skia", "accessibility"]
# binaries-linux: default = ["backend-linuxkms-noseat", "backend-winit", "renderer-femtovg", "renderer-skia", "accessibility"]
# binaries: default = ["backend-linuxkms-noseat", "backend-winit", "renderer-femtovg", "renderer-skia", "accessibility"]
backend-qt = ["slint-interpreter/backend-qt"]
backend-winit = ["slint-interpreter/backend-winit"]