提交 c966038b 编写于 作者: O Olli-Pekka Heinisuo

add -std=c++11

上级 358097f6
......@@ -141,8 +141,7 @@ def main():
cmake_args.append("-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.8")
if sys.platform == 'darwin' and build_contrib:
# see: https://github.com/opencv/opencv_contrib/issues/1388#issuecomment-354403896
cmake_args.append("-DENABLE_PRECOMPILED_HEADERS=OFF")
cmake_args.append("-DCMAKE_CXX_FLAGS=-stdlib=libc++ -std=c++11")
if sys.platform.startswith('linux'):
cmake_args.append("-DWITH_IPP=OFF") # tests fail with IPP compiled with
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册