mirror of
https://github.com/bspeice/aeron-rs
synced 2024-12-21 21:38:09 -05:00
Force Windows to use the MSYS Makefiles generator
This commit is contained in:
parent
b9b5b74b7c
commit
64fccd6a7e
@ -59,7 +59,13 @@ pub fn main() {
|
|||||||
_ => (),
|
_ => (),
|
||||||
};
|
};
|
||||||
|
|
||||||
let cmake_output = Config::new(&aeron_path)
|
let mut config = Config::new(&aeron_path);
|
||||||
|
let config = if cfg!(target_os = "windows") {
|
||||||
|
config.generator("MSYS Makefiles")
|
||||||
|
} else {
|
||||||
|
&mut config
|
||||||
|
};
|
||||||
|
let cmake_output = config
|
||||||
.build_target(link_type.target_name())
|
.build_target(link_type.target_name())
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user