提交 5fb07c99 编写于 作者: M Megvii Engine Team

fix(dnn/x86): fix cmake error for build x86 gtest

GitOrigin-RevId: 76131907331dff004b0ce04bd56f0ad1f7e6ab65
上级 763b57ad
......@@ -11,7 +11,7 @@ if(NOT ${MGE_ARCH} STREQUAL "naive")
list(APPEND SOURCES ${SOURCES_})
if(${MGE_ARCH} STREQUAL "fallback")
message(WARNING "build only with fallback")
elseif(${MGE_ARCH} STREQUAL "x86")
elseif(${MGE_ARCH} STREQUAL "x86_64" OR ${MGE_ARCH} STREQUAL "i386")
file(GLOB_RECURSE SOURCES_ x86/*.cpp)
list(APPEND SOURCES ${SOURCES_})
endif()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册