fix(inject): attempt setting explicit coregraphics dependency to fix compilation on macOS 11.6
This commit is contained in:
parent
20cfb9cb3b
commit
57b2f194e5
|
@ -64,6 +64,7 @@ fn cc_config() {
|
|||
println!("cargo:rustc-link-lib=dylib=c++");
|
||||
println!("cargo:rustc-link-lib=static=espansoinject");
|
||||
println!("cargo:rustc-link-lib=framework=Cocoa");
|
||||
println!("cargo:rustc-link-lib=framework=CoreGraphics");
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#include "native.h"
|
||||
#include <string.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <CoreGraphics/CoreGraphics.h>
|
||||
#include <vector>
|
||||
|
||||
// Events dispatched by espanso are "marked" with a custom location
|
||||
|
|
Loading…
Reference in New Issue
Block a user