We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6093cc6 commit 358097fCopy full SHA for 358097f
setup.py
@@ -140,6 +140,10 @@ def main():
140
cmake_args.append("-DCMAKE_CXX_FLAGS=-stdlib=libc++")
141
cmake_args.append("-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.8")
142
143
+ 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")
146
+
147
if sys.platform.startswith('linux'):
148
cmake_args.append("-DWITH_IPP=OFF") # tests fail with IPP compiled with
149
# devtoolset-2 GCC 4.8.2 or vanilla GCC 4.9.4
0 commit comments