aboutsummaryrefslogtreecommitdiffhomepage
path: root/build.rs
diff options
context:
space:
mode:
authorelilchen <[email protected]>2023-02-16 13:39:08 +0800
committerelilchen <[email protected]>2023-02-16 13:39:08 +0800
commitad40d650702219ee203acfd2088450fafa3ea8b9 (patch)
treed33165c37ead6cb29d2d8dd143d2e0f2a7fc48bd /build.rs
parent7c3be2d9fb7505969c783f8593e9924067f015ea (diff)
downloadrustdesk-server-ad40d650702219ee203acfd2088450fafa3ea8b9.tar.gz
rustdesk-server-ad40d650702219ee203acfd2088450fafa3ea8b9.zip
issues #192 add MicrosoftEdgeWebview2Setup and fix the "VCRUNTIME140.dll Is Missing" error on windows server 2022
Diffstat (limited to 'build.rs')
-rw-r--r--build.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.rs b/build.rs
index 9f8c855..687aa7e 100644
--- a/build.rs
+++ b/build.rs
@@ -1,3 +1,6 @@
fn main() {
hbb_common::gen_version();
+ if cfg!(target_os = "windows") {
+ static_vcruntime::metabuild();
+ }
}