add optional cmake builds

This commit is contained in:
mbilling
2019-09-11 15:19:52 +02:00
committed by mbilling
parent 56ee707517
commit daa9d4c209
5 changed files with 41 additions and 3 deletions

View File

@@ -8,8 +8,12 @@ edition = "2018"
license = "MIT"
build = "build.rs"
[features]
default = ["autotools"]
[dependencies]
libc = "0.2"
[build-dependencies]
autotools = "0.2"
autotools = {version = "0.2", optional = true}
cmake = {version = "0.1", optional = true}