File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -494,14 +494,15 @@ if command -v nvcc > /dev/null ; then
494494 CONFIGURE_OPTIONS+=(" --nvccflags=-gencode arch=compute_52,code=sm_52" )
495495fi
496496
497- if build " amf" ; then
498- download " https://github.com/GPUOpen-LibrariesAndSDKs/AMF/archive/1.4.16.1.tar.gz" " amf-1.4.16.1.tar.gz"
499- execute mkdir -p ${WORKSPACE} /include/AMF
500- execute cp -r amf/public/include/* ${WORKSPACE} /include/AMF/
501- build_done " amf"
497+ if [[ " $OSTYPE " == " linux-gnu" ]]; then
498+ if build " amf" ; then
499+ download " https://github.com/GPUOpen-LibrariesAndSDKs/AMF/archive/1.4.16.1.tar.gz" " amf-1.4.16.1.tar.gz"
500+ execute mkdir -p ${WORKSPACE} /include/AMF
501+ execute cp -r amf/public/include/* ${WORKSPACE} /include/AMF/
502+ build_done " amf"
503+ fi
504+ CONFIGURE_OPTIONS+=(" --enable-amf" )
502505fi
503- CONFIGURE_OPTIONS+=(" --enable-amf" )
504-
505506
506507# #
507508# # FFmpeg
You can’t perform that action at this time.
0 commit comments