By default try to find global installed unicorn if not specified

This commit is contained in:
2022-04-23 22:41:34 +02:00
parent 185a6fec9e
commit f4ab42d930
2 changed files with 32 additions and 31 deletions

View File

@@ -34,11 +34,10 @@ bitflags = "1.3"
libc = "0.2"
[build-dependencies]
cc = { optional = true, version = "1.0" }
cmake = { optional = true, version = "0.1" }
pkg-config = { optional = true, version = "0.3" }
cc = { version = "1.0" }
cmake = { version = "0.1" }
pkg-config = { version = "0.3" }
[features]
default = ["build_unicorn_cmake"]
build_unicorn_cmake = ["cc", "cmake"]
use_system_unicorn = ["pkg-config"]
default = []
build_unicorn_cmake = []