Skip to content

Commit 725aa6b

Browse files
committed
set deployment target
1 parent 0b2d341 commit 725aa6b

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=-stdlib=libc++")
140+
cmake_args.append("-DCMAKE_CXX_FLAGS='-mmacosx-version-min=10.7 -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)