未验证 提交 05f7d300 编写于 作者: Q Qiao Longfei 提交者: GitHub

Merge pull request #11034 from jacquesqiao/fix-compile-by-std-move

Fix compile error on mac caused by std move
......@@ -13,6 +13,10 @@
# limitations under the License.
#
if(APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=pessimizing-move")
endif(APPLE)
function(inference_api_test TARGET_NAME TEST_SRC)
set(options "")
set(oneValueArgs "")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册