forked from floratest1/SpireCV
update CMakeLists.txt.
Signed-off-by: jario-jin <jariof@foxmail.com>
This commit is contained in:
parent
05bba1d2f2
commit
b6fa79a31f
|
@ -23,6 +23,7 @@ else()
|
||||||
option(USE_CUDA "BUILD WITH CUDA." ON)
|
option(USE_CUDA "BUILD WITH CUDA." ON)
|
||||||
option(USE_FFMPEG "BUILD WITH FFMPEG." ON)
|
option(USE_FFMPEG "BUILD WITH FFMPEG." ON)
|
||||||
elseif(PLATFORM STREQUAL "X86_INTEL")
|
elseif(PLATFORM STREQUAL "X86_INTEL")
|
||||||
|
add_definitions(-DPLATFORM_X86_INTEL)
|
||||||
option(USE_FFMPEG "BUILD WITH FFMPEG." ON)
|
option(USE_FFMPEG "BUILD WITH FFMPEG." ON)
|
||||||
else()
|
else()
|
||||||
message(FATAL_ERROR "UNSUPPORTED PLATFORM!")
|
message(FATAL_ERROR "UNSUPPORTED PLATFORM!")
|
||||||
|
|
Loading…
Reference in New Issue