Skip to content

Commit

Permalink
no narrowing
Browse files Browse the repository at this point in the history
  • Loading branch information
skvark committed Sep 9, 2019
1 parent c966038 commit 3fed34b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def main():
cmake_args.append("-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.8")

if sys.platform == 'darwin' and build_contrib:
cmake_args.append("-DCMAKE_CXX_FLAGS=-stdlib=libc++ -std=c++11")
cmake_args.append("-DCMAKE_CXX_FLAGS=-stdlib=libc++ -std=c++11 -Wno-c++11-narrowing")

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

0 comments on commit 3fed34b

Please sign in to comment.