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

Fix compile error on mac caused by std move
release/0.13.0
Qiao Longfei 7 years ago committed by GitHub
commit 05f7d300f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 "")

Loading…
Cancel
Save