update CMakeLists.txt.

Signed-off-by: jario-jin <jariof@foxmail.com>
This commit is contained in:
jario-jin 2023-07-20 09:49:16 +00:00 committed by Gitee
parent 05bba1d2f2
commit b6fa79a31f
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ else()
option(USE_CUDA "BUILD WITH CUDA." ON)
option(USE_FFMPEG "BUILD WITH FFMPEG." ON)
elseif(PLATFORM STREQUAL "X86_INTEL")
add_definitions(-DPLATFORM_X86_INTEL)
option(USE_FFMPEG "BUILD WITH FFMPEG." ON)
else()
message(FATAL_ERROR "UNSUPPORTED PLATFORM!")