fix(detect): fix compilation warnings

This commit is contained in:
Federico Terzi 2021-03-28 18:36:56 +02:00
parent d957fd35ce
commit aa6853293a

View File

@ -43,7 +43,7 @@ fn cc_config() {
if cfg!(not(feature = "wayland")) { if cfg!(not(feature = "wayland")) {
cc::Build::new() cc::Build::new()
.cpp(true) .cpp(true)
.include("src/x11/native.h") .include("src/x11")
.file("src/x11/native.cpp") .file("src/x11/native.cpp")
.compile("espansodetect"); .compile("espansodetect");
@ -54,7 +54,7 @@ fn cc_config() {
cc::Build::new() cc::Build::new()
.cpp(true) .cpp(true)
.include("src/evdev/native.h") .include("src/evdev")
.file("src/evdev/native.cpp") .file("src/evdev/native.cpp")
.compile("espansodetectevdev"); .compile("espansodetectevdev");