add -Wno-error=pessimizing-move only on macos

release/0.13.0
qiaolongfei 7 years ago
parent 8868a54d5f
commit e3c4a58835

@ -13,7 +13,9 @@
# 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 DEP_TEST)
set(options "")

Loading…
Cancel
Save