Skip to content

Commit

Permalink
Windows fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
tychedelia committed Dec 21, 2023
1 parent a67b9bc commit bf9d2ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions td-rs-xtask/src/windows/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ pub(crate) fn build_plugin(
let short_title = plugin_type.to_short_name().to_title_case();
let short_upper = plugin_type.to_short_name().to_uppercase();
let op_path = plugin_type.to_plugin_name();
let vcxproj = std::fs::read_to_string(format!("./{solution_name}.vcxproj"))
let vcxproj = std::fs::read_to_string(format!("./{solution_name}.vcxproj"))?
.replace(
"{{ OP_LIB_NAME }}",
&format!("lib{}.a", op_path.replace("-", "_")),
&format!("{}.lib", op_path.replace("-", "_")),
)
.replace(
"{{ TD_OP_H_PATH }}",
Expand Down

0 comments on commit bf9d2ca

Please sign in to comment.