10000 try different flag · mwbyeon/opencv-python@0b2d341 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0b2d341

Browse files
committed
try different flag
1 parent ee24449 commit 0b2d341

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def main():
137137
if sys.platform == 'darwin':
138138
cmake_args.append("-DWITH_LAPACK=OFF") # Some OSX LAPACK fns are incompatible, see
139139
# https://github.com/skvark/opencv-python/issues/21
140-
cmake_args.append("-DCMAKE_CXX_FLAGS=-std=c++11") # enable c++11 explicitly for clang
140+
cmake_args.append("-DCMAKE_CXX_FLAGS=-stdlib=libc++")
141141

142142
if sys.platform.startswith('linux'):
143143
cmake_args.append("-DWITH_IPP=OFF") # https://github.com/opencv/opencv/issues/10411

0 commit comments

Comments
 (0)
0