mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-23 19:49:05 +08:00
arm linux remove cuda-llvm option (#8735)
Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
parent
e283d33f28
commit
bc672b3367
@ -188,7 +188,7 @@ fn gen_vcpkg_package(package: &str, ffi_header: &str, generated: &str, regex: &s
|
||||
generate_bindings(&ffi_header, &includes, &ffi_rs, &exact_file, regex);
|
||||
}
|
||||
|
||||
// If you have problems installing ffmpeg, you can disable hwcodec feature and disable this function.
|
||||
// If you have problems installing ffmpeg, you can download $VCPKG_ROOT/installed from ci
|
||||
fn ffmpeg() {
|
||||
// ffmpeg
|
||||
let target_os = std::env::var("CARGO_CFG_TARGET_OS").unwrap();
|
||||
|
@ -103,7 +103,6 @@ if(VCPKG_TARGET_IS_LINUX)
|
||||
--target-os=linux \
|
||||
--enable-pthreads \
|
||||
--enable-cuda \
|
||||
--enable-cuda_llvm \
|
||||
--enable-ffnvcodec \
|
||||
--enable-encoder=h264_nvenc \
|
||||
--enable-encoder=hevc_nvenc \
|
||||
@ -117,6 +116,11 @@ if(VCPKG_TARGET_IS_LINUX)
|
||||
--enable-encoder=h264_vaapi \
|
||||
--enable-encoder=hevc_vaapi \
|
||||
")
|
||||
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
|
||||
string(APPEND OPTIONS "\
|
||||
--enable-cuda_llvm \
|
||||
")
|
||||
endif()
|
||||
elseif(VCPKG_TARGET_IS_WINDOWS)
|
||||
string(APPEND OPTIONS "\
|
||||
--target-os=win32 \
|
||||
|
Loading…
Reference in New Issue
Block a user