Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c966038

Browse filesBrowse files
committed
add -std=c++11
1 parent 358097f commit c966038
Copy full SHA for c966038

File tree

Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,7 @@ def main():
141141
cmake_args.append("-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.8")
142142

143143
if sys.platform == 'darwin' and build_contrib:
144-
# see: https://github.com/opencv/opencv_contrib/issues/1388#issuecomment-354403896
145-
cmake_args.append("-DENABLE_PRECOMPILED_HEADERS=OFF")
144+
cmake_args.append("-DCMAKE_CXX_FLAGS=-stdlib=libc++ -std=c++11")
146145

147146
if sys.platform.startswith('linux'):
148147
cmake_args.append("-DWITH_IPP=OFF") # tests fail with IPP compiled with

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.