mirror of
https://gitlab.com/smart-pattern/valentina.git
synced 2024-09-08 01:54:37 +02:00
Make coverage an optional dependency.
This commit is contained in:
parent
c8ffff6428
commit
0ca7c7b3b5
|
@ -4,7 +4,7 @@ Library {
|
|||
Depends { name: "buildconfig" }
|
||||
Depends { name: "bundle"; condition: qbs.targetOS.contains("macos") }
|
||||
Depends { name: "cpp" }
|
||||
Depends { name: "coverage" }
|
||||
Depends { name: "coverage"; required: false }
|
||||
|
||||
type: buildconfig.staticBuild ? "staticlibrary" : "dynamiclibrary"
|
||||
|
||||
|
@ -64,6 +64,6 @@ Library {
|
|||
|
||||
Export {
|
||||
Depends { name: "buildconfig" }
|
||||
Depends { name: "coverage" }
|
||||
Depends { name: "coverage"; required: false }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ VApp {
|
|||
install: false
|
||||
condition: buildconfig.enableUnitTests
|
||||
|
||||
Depends { name: "coverage" }
|
||||
Depends { name: "coverage"; required: false }
|
||||
|
||||
Properties {
|
||||
condition: qbs.targetOS.contains("macos")
|
||||
|
|
Loading…
Reference in a new issue